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

MySQL Assignment

The document outlines a MySQL assignment consisting of various tasks related to database concepts, SQL commands, and data manipulation. It covers topics such as creating databases and tables, data types, SQL clauses, joins, normalization, and statistical calculations. Each task requires executable SQL code examples to demonstrate the concepts discussed.

Uploaded by

abhithorat8757
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)
9 views1 page

MySQL Assignment

The document outlines a MySQL assignment consisting of various tasks related to database concepts, SQL commands, and data manipulation. It covers topics such as creating databases and tables, data types, SQL clauses, joins, normalization, and statistical calculations. Each task requires executable SQL code examples to demonstrate the concepts discussed.

Uploaded by

abhithorat8757
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

MySQL Assignment

1. What is Database, how to create a database in MySQL provide example


as sql code.
2. Difference between CHAR and VARCHAR data types. How to identify
its application in table with example.
3. What is the MySQL server’s default port?
4. What do you understand by % and _ in the like statement? Give
example
5. Explain the difference between having and where clause in MySQL.
Provide example.
6. How to add a column in MySQL and delete columns in MySQL?
Provide with example
7. How to get the top 10 rows? Execute with example
8. What is the use of the ‘DISTINCT’ keyword in MySQL? Show the
result as example
9. How to create a table in MySQL? How to insert data in MySQL table?
Make a working example
10.Write a statement to find duplicate rows In the MySQL table? Provide
SQL code with example
11. What types of relationships are used in MySQL?
12.What is join? Tell different join in MySQL. Apply on any data.
13. What is a primary key? How to drop the primary key in MySQL? Show
as result of your code.
14. What is the difference between DELETE and TRUNCATE commands
in MySQL? Provide difference with example
15.What is the main difference between the primary key and the candidate
key?
16. What is the difference between UNION and UNION ALL in MySQL?
Show as result in SQL code
17. What is a view? How to create a view? Provide with code
18. What is Normalization and list 3 different types of normalization?
19. What is a ‘timestamp’ in MySQL?
20.Take any dataset and apply 1st business of moment on it
21. With same data set apply 2nd business of moment.
22.Calculate skewness and kurtosis and explain how data is distributed
with respect to mean|median|mode in data.
*** Note. All Examples are to be executed with working or executable SQL
code.

You might also like