0% found this document useful (0 votes)
4 views12 pages

Priya

The document is a student assignment on SQL queries submitted by Priya from class 11 'A' to Mr. Ayushman. It includes a table of contents outlining various SQL commands such as creating databases, tables, inserting records, and using functions like COUNT, MAX, and AVG. The document appears to detail 20 different SQL queries with headings for each topic.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views12 pages

Priya

The document is a student assignment on SQL queries submitted by Priya from class 11 'A' to Mr. Ayushman. It includes a table of contents outlining various SQL commands such as creating databases, tables, inserting records, and using functions like COUNT, MAX, and AVG. The document appears to detail 20 different SQL queries with headings for each topic.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

NAME = PRIYA

CLASS = 11 ‘A’
SUBJECT = IT
SUBMITTED TO = MR AYUSHMAN SIR
TOPIC = MY SQL QUERIES
I

Table of Contents
Z 1.** CREATE DATABASE**..........................................................................................................................................4
2 2.Create A Table......................................................................................................................................................4
3. ALTER ADD COLUMN**...............................................................................................................................................5
4.**RENAME A TABLE**.................................................................................................................................................5
5.**INSERT RECORDS**..................................................................................................................................................6
6.**SELECT ALL RECORDS**............................................................................................................................................6
7.**SELECT SPECIFIC COLUMNS**..................................................................................................................................7
8.**UPADATE MULTIPLE RECORDS**.............................................................................................................................7
9.**SELECT WITH CONDITION**.....................................................................................................................................8
10.**SELECT USING AND CONDITION**.........................................................................................................................8
11.**ORDR BY CLAUSE**................................................................................................................................................8
12.**SELECT WITH LIKEOPERATOR**.............................................................................................................................9
13**COUNT FUNCTION**...............................................................................................................................................9
14.**MAX FUNCTION**..................................................................................................................................................9
15.** AVG FUNCTION**..................................................................................................................................................9
16.**WHERE CLAUSE **................................................................................................................................................10
17.**BETWEEN CLAUSE**............................................................................................................................................10
18.** DROP A TABLE**.................................................................................................................................................10
19 .**DROP A TABLE**.................................................................................................................................................11
20.**MIN FUNCTION**.................................................................................................................................................11
(20 QUERIES )

1,** CREATE DATABASE **

1.** CREATE DATABASE**


1

2
2 2.Create A Table **

2.Create A Table COLUMN


4.**RENAME A TABLE**

5.**INSERT RECORDS**

6.**SELECT ALL RECORDS**


7.**SELECT SPECIFIC COLUMNS**

8.**UPADATE MULTIPLE RECORDS**


9.**SELECT WITH CONDITION**

10.**SELECT USING AND CONDITION**

11.**ORDR BY CLAUSE**
12.**SELECT WITH LIKEOPERATOR**

13**COUNT FUNCTION**

14.**MAX FUNCTION**

15.** AVG FUNCTION**


16.**WHERE CLAUSE **

17.**BETWEEN CLAUSE**

17

18.** DROP A TABLE

**
19 .**DROP A TABLE**

20.**MIN FUNCTION**

You might also like