180 likes | 196 Vues
In this presentation, we will discuss the top SQL Interview Questions with respect to Data Science you should absolutely know to crack those SQL interviews and get your dream job. Structured Query Language (SQL) is a special-purpose language for interacting with relational databases. Letu2019s also look at some of the key things that you need to keep in mind while answering the interview questions.<br><br>Post Graduate Program in Data Science<br>Ranked #1 Data Science program by Economic Times<br>Accelerate your career with this acclaimed Post Graduate Program in Data Science, in partnership with Purdue University, & in collaboration with IBM - that features the perfect mix of theory, case studies, & extensive hands-on practicum. This is a #1 ranked Data Science certification program by ET. This Post Graduate Program in Data Science gives you broad exposure to key concepts and tools from Python, R, to Machine Learning, and more. Hands-on labs and project work in this data science certification program bring the concepts to life with our trainers and teaching assistants to guide you along the way.<br><br>Key Features:<br>u2705 Purdue Alumni Association Membership<br>u2705 Industry-recognized IBM certificates for IBM courses<br>u2705 Enrollment in Simplilearnu2019s JobAssist<br>u2705 25 hands-on Projects on GPU enabled Labs<br>u2705 450 hours of Applied learning<br>u2705 Capstone Project in 3 Domains<br>u2705 Purdue Post Graduate Program Certification<br>u2705 Masterclasses from Purdue<br>u2705Get noticed by the top hiring companies<br><br>ud83dudc49Learn more at: http://bit.ly/3mJA1eL<br>
E N D
Structured Query Language SQL is the language for databases that help you store, retrieve, manipulate and update structured data
1 What is the difference between Where and Having in SQL?
SQL Click here to watch the video
SQL Click here to watch the video
The correct SQL query to select all the records of employees with “ari” in their names is: 2 a) SELECT * FROM EMP WHERE name = "%ari%"; b) SELECT * FROM EMP WHERE name LIKE "%ari%"; c) SELECT * FROM EMP WHERE name IN (“ari”); d) SELECT * FROM EMP WHERE name = "_ari_"
Write the query to find the player with the least number of goals. 3 Method - 1 Method - 2
Write the query to find the player with the second highest number of goals. 4 Method - 1 Method - 2
Give the below email table, write a query to find the distinct domain names from email column. 5 Email Table
Give the below email table, write a query to find the distinct domain names from email column. 5 Method 1 Method 2
Write the query to find the duplicate records from a table without using a temporary table? 6 Use the Group by and Having clause to get the desired output
Given the below Employee table, write a query to find odd and even records from the table? 7 Even Records Odd Records
Below is a customer table. Write a query to get the first purchase of each customer. 8
Below is a customer table. Write a query to get the first purchase of each customer. 8
Here is a weather table. Write a SQL query to find all date ids with higher temperature compared to its previous dates. 9
There are 2 tables - Authors and Books. Write a SQL query to find the second highest author who sold the most books. 10 Author Books
There are 2 tables - Authors and Books. Write a SQL query to find the second highest author who sold the most books. 10