Database Management System (3330703) MCQs

MCQs of Relational Algebra and implementation using SQL

Showing 41 to 50 out of 60 Questions
41.

To perform natural join between two relations there must be a common attribute ?

(નેચરલ જોઈન પરફોર્મ કરવા માટે બંને રીલેશન માં કોમન એટ્રીબ્યુટ હોવો જોઈએ?)

(a)

TRUE

(b)

FALSE

Answer:

Option (a)

42.

In Join, when we can use USING clause ?

(જોઈન માં USING ક્લોઝ નો ઉપયોગ કયારે કરવો જોઈએ ?)

(a)

When we want to apply nonequi join

(જયારે આપણે nonequi જોઈન અપ્લાય કરવું હોય ત્યારે)

(b)

When the tables to be joined do not have same column name

(જયારે બે ટેબલ ને જોઈન કરવા હોય  અને બંને માં કોમન કોલમના નામ ના હોય ત્યારે)

(c)

When the tables to be joined have same column name

(જયારે બે ટેબલ ને જોઈન કરવા હોય  અને બંને માં કોમન કોલમના નામ હોય ત્યારે)

(d)

When the tables to be joined have multiple NULL columns

(જયારે બે ટેબલ ને જોઈન કરવા હોય  અને તેમાં એક કરતા વધારે નલ કોલમ હોય ત્યારે)

Answer:

Option (c)

43.

To avoid cartesian product, always include a valid join condition in a WHERE clause

(કાર્ટેઝીયન પ્રોડક્ટ ને avoid કરવા માટે હંમેશા WHERE ક્લોઝ માં વેલીડ જોઈન કંડીશન લખવી જોઈએ)

(a)

TRUE

(b)

FALSE

Answer:

Option (a)

44.

Which kind of join we can apply when we want those tuples which does not have matching values ?

(જયારે આપણે વેલ્યુ મેચ ના થતી હોય તેવી વેલ્યુ જોતી હોય તો ત્યારે ક્યાં પ્રકારના જોઈન નો ઉપયોગ કરવો જોઈએ)

(a)

Equi Join

(b)

Non Equi Join

(c)

Self Join 

(d)

Outer Join

Answer:

Option (d)

45.

Which kind of the join is applied in the below query

select name,d_name from department,faculty where department.d_id = faculty.d_id;

નીચે આપેલ ક્વેરી માં ક્યાં પ્રકારના  જોઈન નો ઉપયોગ કરવામાં આવેલ છે

select name,d_name from department,faculty where department.d_id = faculty.d_id;

(a)

Equi Join

(b)

Natural Join

(c)

Self Join 

(d)

Outer Join

Answer:

Option (a)

46.

In _____ join some records are missing, now if we want those missing records then we can use _____ join

(_____ જોઈન માં થોડા રેકોર્ડ મિસિંગ હોય છે , હવે તે મિસિંગ રેકોર્ડ માટે _____ જોઈન નો ઉપયોગ કરી શકાય છે )

(a)

Equi, Natural

(b)

Natural, Outer

(c)

Non Euqi, Natural

(d)

Self, Outer

Answer:

Option (b)

47.

Equi Join uses _______ condition.

(Equi Join ______ કંડીશન નો ઉપયોગ કરે છે)

(a)

Equivalence

(b)

Non Equivalence

Answer:

Option (a)

48.

Non equi join does not required one commom attribute between relations and Equi Join requires one common attribute between relations

(Non equi જોઈન માં બંને રીલેશન વચ્ચે કોમન એટ્રીબ્યુટ ની જરૂર હોતી નથી અને  Equi જોઈન માં બંને રીલેશન વચ્ચે કોમન એટ્રીબ્યુટ ની જરૂર હોય છે)

(a)

TRUE

(b)

FALSE

Answer:

Option (b)

49.

In ____ join name of tables appears twise in the from clause

(______ જોઈન ના from ક્લોઝ માં ટેબલ નું નામ 2 વાર આવે છે)

(a)

Full Outer

(b)

Natural

(c)

Self

(d)

Equi

Answer:

Option (c)

50.

When we want to find some data but we don’t know the exact value of the data,at that time we can use _____

(જયારે આપણે  કોઈ ડેટા શોધવો છે પરંતુ તે ડેટા ની એકઝેટ વેલ્યુ આપણે જાણતા ના હોય ત્યારે આપણે _____ નો ઉપયોગ કરી શકીએ)

(a)

Join

(b)

Sql Command

(c)

Sub Query

(d)

Union

Answer:

Option (c)

Showing 41 to 50 out of 60 Questions