Test Index

Structured Query Language (SQL) Get it on Google PlayDownload on the App Store CBSE Board Videos

© examsnet.com
Question : 57 of 58
Marks: +1, -0
Rohan is learning to work upon Relational Database Management System (RDBMS) application. Help him to perform following tasks :
(a) To open the database named "LIBRARY".
(b) To display the names of all the tables stored in the opened database.
(c) To display the structure of the table "BOOKS" existing in the already opened database "LIBRARY".
[CBSE 2022 Code 91]
Solution:  
(a)
USE LIBRARY;
(b)
SHOW TABLES;
(c)
DESCRIBE BOOKS;
or DESC BOOKS; (shows each column of BOOKS with its data type, NULL option and key).
© examsnet.com
Advertisements
Go to Question: