I hope the questions are very important resolution of supervisors and exper

1 GAVEN THE FOLLOWING TABLES
SUPPLIER(SUPPLIER_ID,SUPPLIER_NAME,CITY); PK(SUPPLIER_ID)
SUPPLIER_ID-------|--SUPPLIER_NAME
1-----------------------|-- IBM
2-----------------------|-- AT&T
3-----------------------|-- GE
PARTS(PART_ID,PART_NAME,COLOR); PK(PART_ID)
PART_ID----------| PART_NAME-------------| COLOR
1--------------------|-COMPUTER---------------| RED
2--------------------| CALCULATOR------------| GREEN
SUPPLIER_PART(SUPPLIER_ID,PART_ID,QTY), PK(SUPPLIER_ID,PART_ID)
SUPPLIER_ID---| PART_ID---| QTY
1-------------------| 1--------------| 30
1-------------------| 2--------------| 50
2-------------------| 1--------------| 20
write SELECT statements to obtain results of following
1 get supplier who dose not supply any part.
2 get supplier who supplies only one part.
3 get supplier who supplies all parts.
4 get supplier who supplies the maximum quantity of part 1.
5 get the total quantity supplied of each part.
according the question no . i create database package contain.
1 function to get supplier who dose not supply any part.
2 function to get supplier who supplies only one part.
3 function to get supplier who supplies all parts.
4 function to get supplier who supplies the maximum quantity of part 1.
5 function to get the total quantity supplied of each part.
3 write two triggers that fire on each of form-level,block-level,record-level and item-level
explain briefly each trigger.
4 write down the name of the trigger that can be used to activate the close button at the top of the window
(note close button appears on the title bar of any window on MS WINDOWS PLATFORM as (x)).
5 if i need a trigger that fires on each navigation of records?....Ex...need to show and hide some items
depending on a condition in the record what will be that trigger?
6 if i need to check the uniqueness of the primary key not on commit but when entering the value of the
primary key state the triggers that will be used and the code you will write in each trigger?take into
consideration that this value might not been saved yet in the database ,this means it's on block and not
yet committed.
7 if you have a record group whose query changes depending on the data block record what built-in function
will be used?
8 if i need to change a property on item not in the whole records but in the current record
depending - assuming that we have a toolbar layout -on a condition in the record.what procedure will you used?
9 write a database function that accepts column name and table name as parameters and returns the MAX value
in the column.
function xxx(p_column_name varchar2,p_table_name)
what if you need to do the same function in forms builder,what package should you use?
10 assume that you have a table say
emp(empno number(10),ename varchar2(50))
the table contains the the following data
empno--|---- ename
1----------|-------ali
2----------|------hassan
begin
select ename into ename
from emp
where empno=empno
end;
what would be the value of the variable ename after the execution of the above code?
do you expect any errors to arise from the above code?
11 assume you have two tables
table t1(t_id number(10)) with a check constraint t_id>0
table t2(cnt number(10)) with only one row record in it initialized to 0
now suppose we have a trigger on t1
declare
v_cnt number(15);
begin
select nvl(cnt,0)
into v_cnt
from t2;
v_cnt:=v_cnt+1;
update t2 set cnt=v_cnt;
end;
examine the code below and tell what would be the value of cnt in table t2
after execution of the following cases separately.
end;
please indicate the value of cnt after execution of above code (first case)
(second case)
begin
insert into t1 values(3);
insert into t1 values(-1);
exception
when others then
null;
end;
please indicate the value of cnt after execution of above code (second case)
12 we need a query which display the following output form tables emp,dept
dept 10
emp1
emp2
dept 20
emp3
emp4
meaning first display the department then displays the employee belonging to this
department (using hierarchical retneval) indicate the level on each row as a column
of the result.
13 suppose you have the following results
1234 12341234fadf<hello>123423 dfa
write the statement to extract the text after the <hello> tag(note.: the number of characters of
the whole string is unknown one thing for sure,it contains<hello>)
14 what is the oracle supplied package responsible for writing on text files on the
database what is the other package used on forms for the same purpose
Edited by: user11721244 on Jul 22, 2009 1:21 PM

Looks lie a homework... Do you expect us to do the work for you? What answers did you find out yourself?

Similar Messages

  • I move my videos from camera roll to a new folder. After i turn off & on my phone, the videos disappears. The videos are very important to me. Please please help. how can i retrieve?

    i move my videos from camera roll to a new folder. after turn off & on again my phone, the videos disappears. the videos are very important to me. Is there any way i can retrieve it? please please help. thanks.

    Photo Stream is not a backup.
    Photo Stream has a limit so is temporary.
    iTunes does not handle the import of photos/videos from any digital camera including from the iPhone's Camera Roll.
    Photos/videos in the Camera Roll can be imported by your computer as with any other digital camera.

  • I deleted an e-mail from my iCloud account from my iPhone and cleared the trash. I accidentally deleted an e-mail from my college containing a string of 3 e-mails which are very important. Is there anyway to retrieve the e-mail from the Apple server?

    I deleted an e-mail from my iCloud account from my iPhone and cleared the trash. I accidentally deleted an e-mail from my college containing a string of 3 e-mails which are very important. Is there anyway to retrieve the e-mail from the Apple server?

    My question is similar:  I deleted email folders in my mail app on iPhone 4 and it deleted the folders on all my other devices--literally THOUSANDS of emails!  I went to iCloud to recover them and can't find them.  HELP PLEASE!

  • Firefox upgraded me to version 3.6.12 yesterday morning, and now I can't find any of my saved bookmarks. Help - they are very important!

    Firefox upgraded me to version 3.6.12 yesterday morning, and now I can't find any of my saved bookmarks. Help - they are very important!

    The [[lost bookmarks]] article should help you recover them.

  • At work we have many who travel with train alot, where the internet is very unstable at best. And  they have trouble getting their e-mails. So the question is if there is a way to increase the mail cache in iOS 7, to lower the dependence of internet.

    At work we have many who travel with train alot, where the internet is very unstable at best. And  they have trouble getting their e-mails.
    So the question is if there is a way to increase the mail cache in iOS 7, to lower the dependency of a very poor internet connection.

    I don't think so. Unless it's in the settings, there's not much that can be done.
    are they using wifi on the train? If so, maybe switching to cellular. There are devices like the Mifi, which is a battery operated portable wifi hotspot that they can connect their device to.
    If the wifi on the train is solid, I know I've had issues using certain hotspots. For example, my yahoo mail simply will not pull down via the mail app if I'm on some AT&T hot spots. But if I go in via safari then it works. So if the signal is good, maybe using a different way can help.
    Or maybe looking for a mail interface that isn't apple's. There are others in the app store that may have better function or more control.

  • My printer -photosmart plus B210a prints but the photos are very very dark HELP please

    I have a Hp photosmart plus B210a just trying to print out some photos and they are very very dark The photos themselves are light and of a high Dpi any suggestions anyone ??? please they are of my son's wedding so are very important to me 

    What program are you printing from? What operating system? What are the printer settings for paper type and quality?
    If you are printing from a program that allows selection of CMYK or RGB printing then select the RGB setting.  Even though the inks are CMYK the driver is expecting RGB data.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Got an email stating my Creative Cloud Membership ends tonight, yet I'm all paid up and the card I'm using to pay for it is good.  I have two very important projects going on and can't afford to have CC go down.  Please help!

    got an email stating my Creative Cloud Membership ends tonight, yet I'm all paid up and the card I'm using to pay for it is good.  I have two very important projects going on and can't afford to have CC go down.  Please help!

    You have 3 CC under same Adobe ID out of which one purchased on has expired, you are getting notification due to this.
    Creative Cloud Photography plan (one-year)
    Desktop Subscription
    Mar 30, 2015
    The other two are active, however it is advisable to have one CC under one Adobe ID.
    Regards
    Rajshree

  • When I open a powerpoint presentation with keynote the slides are very small. How do I make them fit a page?

    When I open a PP with Keynote the slides are very small. How do I make them fit the page, like they did in PP?

    I had the same problem.
    Go to preferences, slideshow, and check the box "Scale slides to fit display."
    Hope this helps!

  • Hi all.When pressed play and make some changes in loop (eg fade in fade out) are very slow to implement, and also the loops from the library are very slow to play, corrects the somewhat self so is the Logic??

    hi all.When pressed play and make some changes in loop (eg fade in fade out) are very slow to implement, and also the loops from the library are very slow to play, corrects the somewhat self so is the Logic??

    Hey there Logic Pro21,
    It sounds like you are seeing some odd performance issues with Logic Pro X. I recommend these troubleshooting steps specifically from the following article to help troubleshoot what is happening:
    Logic Pro X: Troubleshooting basics
    http://support.apple.com/kb/HT5859
    Verify that your computer meets the system requirements for Logic Pro X
    See Logic Pro X Technical Specifications.
    Test using the computer's built-in audio hardware
    If you use external audio hardware, try setting Logic Pro X to use the built-in audio hardware on your computer. Choose Logic Pro X > Preferences > Audio from the main menu and click the Devices tab. Choose the built in audio hardware from the Input Device and Output Device pop-up menus. If the issue is resolved using built-in audio, refer to the manufacturer of your audio interface.
    Start Logic with a different project template
    Sometimes project files can become damaged, causing unexpected behavior in Logic. If you use a template, damage to the template can cause unexpected results with any project subsequently created from it. To create a completely fresh project choose File > New from Template and select Empty Project in the template selector window. Test to see if the issue is resolved in the new project.
    Sometimes, issues with the data in a project can be repaired. Open an affected project and open the Project Information window with the Project Information key command. Click Reorganize Memory to attempt to repair the project. When you reorganize memory, the current project is checked for any signs of damage, structural problems, and unused blocks. If any unused blocks are found, you will be able to remove these, and repair the project. Project memory is also reorganized automatically after saving or opening a project.
    Delete the user preferences
    You can resolve many issues by restoring Logic Pro X back to its original settings. This will not impact your media files. To reset your Logic Pro X user preference settings to their original state, do the following:
    In the Finder, choose Go to Folder from the Go menu.
    Type ~/Library/Preferences in the "Go to the folder" field.
    Press the Go button.
    Remove the com.apple.logic10.plist file from the Preferences folder. Note that if you have programmed any custom key commands, this will reset them to the defaults. You may wish to export your custom key command as a preset before performing this step. See the Logic Pro X User Manual for details on how to do this. If you are having trouble with a control surface in Logic Pro X, then you may also wish to delete the com.apple.logic.pro.cs file from the preferences folder.
    If you have upgraded from an earlier version of Logic Pro, you should also remove~/Library/Preferences/Logic/com.apple.logic.pro.
    Restart the computer.
    Isolate an issue by using another user account
    For more information see Isolating an issue by using another user account.
    Reinstall Logic Pro X
    Another approach you might consider is reinstalling Logic Pro X. To do this effectively, you need to remove the application, then reinstall Logic Pro X. You don't have to remove everything that was installed with Logic Pro X. Follow the steps below to completely reinstall a fresh copy of Logic Pro X.
    In the Finder, choose Applications from the Go menu.
    Locate the Logic Pro X application and drag it to the trash.
    Open the Mac App Store
    Click the Purchases button in the Mac App Store toolbar.
    Sign in to the Mac App Store using the Apple ID you first used to purchase Logic Pro X.
    Look for Logic Pro X in the list of purchased applications in the App Store. If you don't see Logic Pro X in the list, make sure it's not hidden. See Mac App Store: Hiding and unhiding purchases for more information.
    Click Install to download and install Logic Pro X.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • How can I view my pictures that were backed up to iTunes? I no longer have an apple product but need to view the pictures for very important reasons.

    How can I view my pictures that were backed up to iTunes? I no longer have an apple product but need to view the pictures for very important reasons.

    If you mean backed up as part of an iPhone backup in iTunes?  If so, you would have to use 3rd party software to extract them from the backup, such as iPhone Backup Extractor.

  • When opening iTunes, I get the following error message: the registry setting used by the iTunes drivers for importing an burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software.  Please reinstall iTunes.

    When opening iTunes, I get the following error message: "The registry setting used by the iTunes drivers for importing an burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software.  Please reinstall iTunes."
    I have reinstalled iTunes twice and still get the message.
    Any clues??
    Thank you.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • When playing my ipod on an ipod dock the vocals are very faint. It is fine when doing through the headphones. I am trying to sync for updates and getting the message "An unknown error occured (-1)" - help

    When playing my ipod on an ipod dock the vocals are very faint. It is fine when doing through the headphones. I am trying to sync for updates and getting the message "An unknown error occured (-1)" - help

    Error -1
    Attempt to restore your iOS device two more times. If the issue is still unresolved, the device may need service.
    The "device may need service" means a hardware problem. In that case make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    Also see:
    -1 error
    -1 error too

  • I am using iphone5s.some time the iphone is showing less signals?when i compare my phone with another phone by keeping side by side the signals are very less?

    am using iphone5s.some time the iphone is showing less signals?when i compare my phone with another phone by keeping side by side the signals are very less?

    Are both phones by Apple?
    I had a Nokia previous to my iPhone 5 & noticed that on the Nokia I had 3.5G signal & 4 bars out of 5 yet on the new phone it shows 3G & 2 or 3 bars, rarely it reaches 5 while outside.

  • TS3297 Everytime i purchase from the apps store it always show the security questions and i cant buy the apps i want because the questions are not answerable. Pls help....

    Everytime i purchase from the apps store it always show the security questions and i cant buy the apps i want because the questions are not answerable. Pls help....

    I think you need to reset those questions. You'll need to call the tech support for your country, ask to be connected to the Account Security Team and then ask if they can reset the questions for you.
    http://support.apple.com/kb/HE57

  • After updating mini ipad to ios7 the sounds are very bad. Kind of distortion. Any idea?

    After updating mini ipad to ios7 the sounds are very bad. Kind of distortion. Any idea?

    Found it myself.
    Restore settings + restart device fixes the problem.

Maybe you are looking for

  • USB device drawing too much power error message

    When I try to plug my iPod into my computer to charge or update my music, I get an error message that says, " Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled." I've tried this whi

  • Connecting macbook air to my ipad

    I want to connect my Macbook air with my ipad but for some reason they connect recognise each other but won't allow anything to transfer between them. Any ideas?

  • Cancellation of invoices

    Hi, Usual sales process - order-delivery-builling- excise invoice Suppose say we have done some mistake in billing - now we want to cancel it , whether 1. we have to cancel billing first though  for which excise invoice is already there ( if we are d

  • BPC 7.5 Installation Guide - Clarification Needed on UJA_SVR_DEFAULT

    Page 23, Section 3.4 Item number 10 of the BPC 7.5 NetWeaver Installation Guide says to do the following: 2. Go to transaction SE38 and run program UJA3_WRITE_SYS_USERS. This updates the settings in table UJA_SVR_DEFAULT with the Planning and Consoli

  • How to view preinstalled POI on E72

    Hey guys, just signed up to here, but have browsed the forums for a few years now, and found them extremely helpful!! I have just bought myself a new present in the form of the E72, and I am completely blown away by it! I have sorted out the offline