Giter Club home page Giter Club logo

sql-interview-preparation-questions's Introduction

SQL Interview Questions for Data Science

Welcome to my SQL interview preparation repository! Below are a collection of common SQL questions and theoretical concepts that are frequently asked in Data Science interviews.

Common Questions

  1. Write a query to add multiple columns in a table.
  2. Write a query to add/delete multiple columns in a table.
  3. Write a query to find out the 2nd highest value in a table.
  4. Find the maximum value without using ORDER BY.
  5. Find managers of all employees.
  6. Use of wildcards.
  7. If-else based questions.
  8. Find category-wise top value.
  9. Find/delete all the duplicate values.
  10. Joining tables.

Theory Questions

  1. SQL Vs NoSQL Databases.
  2. Tables required for many-to-many relationships.
  3. Draw schema design for swiggy.
  4. Types of Joins -> Union Vs Union All
  5. OLAP Vs OLTP [Normalized Vs Denormalized Data]
  6. Database keys
  7. Types of normalization
  8. What are indexes in Databases and what are its types
  9. What are transactions in databases? Explain ACID properties.
  10. Define
    • Views
    • Stored Procedures

Feel free to contribute by adding more questions or improving existing solutions!

Contributing

Contributions are welcome! If you have additional SQL questions or improvements to existing solutions, feel free to open a pull request.

License

This repository is licensed under the MIT License. See the LICENSE file for details.

sql-interview-preparation-questions's People

Contributors

mastermindromii avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.