Skip to content

Instantly share code, notes, and snippets.

@Kishimoto96
Created April 25, 2023 11:30
Show Gist options
  • Save Kishimoto96/b617888e9407fe8c81db64240c0ca6db to your computer and use it in GitHub Desktop.
Save Kishimoto96/b617888e9407fe8c81db64240c0ca6db to your computer and use it in GitHub Desktop.

Discussion about SQL:

  1. What is SQL, and what are some of its primary functions?
  2. SQL is a declarative query language, what does that mean?
  3. SQL is the industry standart for relational databases, what does a realtional database mean?
  4. What is a database management system? and which ones are the most popular?
  5. What are some of the most common SQL commands, and how are they used to manipulate data?
@irodamrj
Copy link

Fatima Ali, Iroda Yılmaz, Bara'a Almasri
1- Structured query language (SQL) is a standard language for database creation and manipulation. Sum, Avg, Count, First, last
2-They function in a more general manner and involve giving broad instructions about what task is to be completed, rather than the specifics on how to complete it.
3-A relational database is a collection of data items with pre-defined relationships between them. These items are organized as a set of tables with columns and rows. Tables are used to hold information about the objects to be represented in the database.
4-Database Management Systems (DBMS) are software systems used to store, retrieve, and run queries on data. A DBMS serves as an interface between an end-user and a database, allowing users to create, read, update, and delete data in the database.
5. SELECT - extracts data from a database
UPDATE - updates data in a database
DELETE - deletes data from a database
INSERT INTO - inserts new data into a database
CREATE DATABASE - creates a new database
ALTER DATABASE - modifies a database
CREATE TABLE - creates a new table
ALTER TABLE - modifies a table
DROP TABLE - deletes a table
CREATE INDEX - creates an index (search key)
DROP INDEX - deletes an index

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment