11. |
Choose the equery that matches the below image નીચે આપેલ image ને મેચ થતી હોય તે ક્વેરી સિલેક્ટ કરો
|
||||||||
Answer:
Option (b) |
12. |
If we want to retrieve only all employees, whether or not they have matching departments in the departments table. Then which query is right? Employee
Department
જો આપણે ફક્ત બધા employees ને રીટ્રાઇવ કરવા હોય, તેમનું ડીપાર્ટમેન્ટ, ડીપાર્ટમેન્ટ ટેબલ માં હોય અથવા ના પણ હોય તો તેમના માટે નીચે ના માંથી કઈ ક્વેરી સાચી છે? Employee
Department
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Answer:
Option (a) |
13. |
Following tables are available with following attributes, then write query to find out the name of students with their department name having backlog 0. (નીચે ટેબલ ની સાથે તેમના એટ્રીબ્યુટ ની માહિતી આપેલ છે,હવે તેની મદદ થી તેવા સ્ટુડન્ટ નું નામ,ડીપાર્ટમેન્ટ નું નામ ડિસ્પ્લે કરવો જેમને 0 બેકલોગ હોય તો તેના માટેની ક્વેરી લખો)
|
||||||||
Answer:
Option (b) |
14. |
Choose the type of join that matches the below image નીચે આપેલ image ને મેચ થતુ હોય તે જોઈન નું નામ આપો
|
||||||||
Answer:
Option (c) |
15. |
If we want to display name of staff with their manager name then which of the following query is true for it ? Employee
જો આપણે સ્ટાફ ના નામ ની સાથે તેમના મેનેજર નું નામ પણ ડિસ્પ્લે કરવું હોય તો નીચે ના માંથી કઈ ક્વેરી સાચી છે? Employee
|
||||||||||||||||||||||||||||||||||||||||||||
Answer:
Option (b) |
16. |
Following query is know as ________ sub query select name,salary from faculty parent where sal > (select avg(salary) from faculty where parent.did = did); નીચે આપેલ ક્વેરી ____ પ્રકારની સબ ક્વેરી છે select name,salary from faculty parent where sal > (select avg(salary) from faculty where parent.did = did);
|
||||||||
Answer:
Option (c) |
17. |
Total no. of columns in a table is refered as ________ (ટેબલ માં ટોટલ નંબર ઓફ કોલમ ને _____ તરીકે ઓળખવામાં આવે છે)
|
||||||||
Answer:
Option (c) |
18. |
Total no. of rows/records in a table is refered as ________ (ટેબલ માં ટોટલ નંબર ઓફ રો/રેકોર્ડ ને _____ તરીકે ઓળખવામાં આવે છે)
|
||||||||
Answer:
Option (a) |
19. |
How many attributes is/are required for super key ? (સુપર કી કેટલા એટ્રીબ્યુટ ને આપી શકાય છે ?)
|
||||
Answer:
Option (b) |
20. |
Consider attributes RollNo, Branch,Name,Semester,SPI Which one of this can be considered as a super key? (RollNo, Branch,Name,Semester,SPI જો એટ્રીબ્યુટ હોય તો નીચે આપેલ માંથી કયું ઓપ્શન સુપર કી માટે સાચું છે ?)
|
||||||||
Answer:
Option (c) |