0% found this document useful (0 votes)
846 views1 page

CREATE TABLE Grocery (Item - No INT, Item - Name VARCHAR (20), MFD VARCHAR (10), Expdate VARCHAR (12), Address VARCHAR (20), City VARCHAR (10) )

The document provides SQL queries to create a grocery table with columns for item number, name, manufacture date, expiration date, address and city. It also includes a query to drop the grocery table after it has been created.

Uploaded by

Madhu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
846 views1 page

CREATE TABLE Grocery (Item - No INT, Item - Name VARCHAR (20), MFD VARCHAR (10), Expdate VARCHAR (12), Address VARCHAR (20), City VARCHAR (10) )

The document provides SQL queries to create a grocery table with columns for item number, name, manufacture date, expiration date, address and city. It also includes a query to drop the grocery table after it has been created.

Uploaded by

Madhu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Write SQL queries for the following:

1. create table grocery(


item_no int,
item_name varchar(20),
mfd varchar (10),
expdate varchar(12),
address varchar(20),
city varchar(10));

CREATE TABLE grocery (


item_no INT,
item_name VARCHAR(20),
mfd VARCHAR(10),
expdate VARCHAR(12),
address VARCHAR(20),
city VARCHAR(10)
);

2. To drop the above created table

DROP TABLE grocery;

You might also like