1) Write Psql Command to Get Help on SQL Command INSERT

Total Page:16

File Type:pdf, Size:1020Kb

1) Write Psql Command to Get Help on SQL Command INSERT

Using PostgreSQL

Questions

1) Write psql command to get help on SQL command INSERT.

2) Write psql command for quitting.

3) Write SQL command for creating a database booklib .

4) Write SQL command for creating a table with name books with the following fields

Id integer integer UNIQUE, title text NOT NULL, author_id integer.

5) Write Select query to display information in the fields id, title from table books

6) Write psql command to describe table.

7) Write SQL command to create a user with user name Rama.

8) Write SQL command to rename table books to literature.

9) Write SQL select command to sum the stock from table stock.

10) Write SQL Command to Remove table with name employee.

**********

Recommended publications