Question

In: Computer Science

Choose all the optional query block in “Select “retrieval query? A. Select B. Where C. From...

Choose all the optional query block in “Select “retrieval query?

A.

Select

B.

Where

C.

From

D.

Order By

A NULL value means

A.

Value missing

B.

Value unknown

C.

More than 1000

D.

All the above

Delete from DEF; /*DEF is a table/relation*/

What action does this command perform?

A.

Delete the table

B.

Delete all the rows from the table

C.

Deletes a column

D.

Deletes the top 10 tuples

A attribute/column, fName, is of Data Type varchar(100). One of entries is “ABC”.

How many spaces does the entry of this value  creates?

A.

0

B.

100

C.

103

D.

97

Which of the following Join operation will give only the matching tuples?

A.

Inner Join

B.

Left Outer Join

C.

Right Outer Join

D.

Full Outer Join

Solutions

Expert Solution

Question:

Choose all the optional query block in “Select “retrieval query?
Answer:
Where and Order By

Explanation:

Both where as well as Order By arec optional in a SELECT query

Question:

A NULL value means
Answer:
Value missing

Explanation:

Null value means thatv there is no value inserted in that field

Question:

Delete from DEF; /*DEF is a table/relation*/
What action does this command perform?
Answer:  
Delete all the rows from the table

Explanation:

Simply using delete command on a tabble using from class willl remove all the records from the table ie rows will be deleted

Question:

A attribute/column, fName, is of Data Type varchar(100). One of entries is “ABC”.
How many spaces does the entry of this value creates?
Answer:
0

Explanation:

When varchar is used the data will be stored simply and no spaces will be created.

Question:

Which of the following Join operation will give only the matching tuples?
Answer:
Inner Join

Explanation:

Inner join only produces the tuples that matches the given criteria


Related Solutions

Document frequency is A. query and document B. query only C. term only D. term and...
Document frequency is A. query and document B. query only C. term only D. term and document E. term, query, and document
Which of the following is a Website query?Select all that apply.True False [Miami weather],...
Which of the following is a Website query?Select all that apply.True False [Miami weather],English (US) True False [Miami wikipedia.org],English (US) True False [Miami map],English (US) True False[Miami images], English (US)
Which of the following is NOT a database management task? a. retrieval b. storage c. summarization d. deletion
Which of the following is NOT a database management task?a. retrievalb. storagec. summarizationd. deletion 
1. Write a query to: a. select data from INVOICES table as follows: Invoice date in...
1. Write a query to: a. select data from INVOICES table as follows: Invoice date in MM/DD/YYYY format Invoice Date in DD-Mon-YYYY format Invoice Total rounded to the nearest dollar Note: you can alias columns as you sit fit b. select data from VENDORS table as follows: Vendor Name Concatenate Vendor Name with the string ‘s Address Concatenate Vendor City, Vendor State and Vendor Zip Code (alias this) Your output should look like this (this is just an example of...
1. Select all Course table data and display in primary key order. Show this query result.
Table Course:    Column    dataType Constraint ccode char(8) primary key, meetingTime char(4), room char(6), fid    decimal(3) NOT NULL, cTitle    varchar(24) NOT NULL, fee    decimal(4,2),    prereq char(8) 1. Select all Course table data and display in primary key order. Show this query result. 2. By default MySQL runs in autocommit mode. Issue a START TRANSACTION command before a series of update commands that may need to be rolled back or to be committed. ROLLBACK will "undo" commands given in the transaction. [Note:...
Select all the properties that apply for driving a car. a) known b) multiple agents c)...
Select all the properties that apply for driving a car. a) known b) multiple agents c) deterministic d) fully observable e) continous f) unknown g) static h) single agent I) Discrete j) Stochastic k) Sequential l) Episodic m) Dynamic n) Partially observable
A. Beta emission is associated with: (SELECT ALL THAT APPLY) a, b, c, d, e, f,...
A. Beta emission is associated with: (SELECT ALL THAT APPLY) a, b, c, d, e, f, g B. Electron-capture is associated with: (ALL THAT APPLY) a, b, c, d, e, f, g C. Alpha emission is associated with (ALL THAT APPLY) a, b, c, d, e, f, g D. Positron emission is associated with (SELECT ALL THAT APPLY) a, b, c, d, e, f, g a. increase in mass number b. emission of a photon c. decrease in mass number...
A. Rewrite the query select * from section natural join classroom without using a natural join...
A. Rewrite the query select * from section natural join classroom without using a natural join but instead using an inner join with a using condition. B. Explain the difference between integrity constraints and authorization constraints.
. Block A and Block B start from rest on a horizontal track. An ideal string...
. Block A and Block B start from rest on a horizontal track. An ideal string pulls cart A with a constant force of 25 N, causing both of the carts to move together as they accelerate. The coefficient of kinetic friction between the blocks and the track is 0.10. Block A= 4.0kg and Block B= 1.0kg (pulled horizontally) Determine the magnitude of each individual force that acts on Block A and each individual force that acts on Block B.
1.what are the advantages of commercial paper? select all that apply a. safety b. transferability c....
1.what are the advantages of commercial paper? select all that apply a. safety b. transferability c. convenience d. verbal 2.which of the following are requirements for a valid negotiable instruments? select all that apply a. it must be mailed b. it must be written c. it must be an Unconditional promise or order to pay d. it must be payable to more than one person 3.a_______ is the person who signs a promissory note while ________ signs a check or...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT