Computer Science, asked by DebioshiDutta, 18 days ago

Write an SQL query to display all the attributes of a relation named “TEST” along with their description.

Answers

Answered by dc4caa507
0

Answer:

Explanation:

DESCRIBE TEST

Or you can use

DESC TEST

Answered by poojan
22

There are two statements in SQL which help us in getting all the attributes along with their descriptions. They are:

1. DESCRIBE TEST;

2. DESC TEST;

Explanation:

  • DESC Tablename; is the short form of the statement DESCRIBE Tablename;

  • DESCRIBE Tablename; is an SQL statement that is used to describe all the attributes of a relation table. In short, it describes the schema or structure of the table.

  • Both the statement keywords DESC and DESCRIBE are case insensitive in SQL i.e., you can go for smalls or capitals or a combination of both to write the query. They are valid till the spellings are correctly written.

  • The attributes include the name of the column, data-type of the column, and their nullability i.e., if the column contains null values or not.

Learn more:

1. What are the maximum and the minimum number of rows returned by the R1 right outer join R2?

brainly.in/question/21195376

2. Noisy values are the values that are valid for the dataset but are incorrectly recorded. Is it?

brainly.in/question/6658996

Similar questions