Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabianacampanari/sql_labs
🛢️ SQL LABS - Creating Database Systems on SQL Server
https://github.com/fabianacampanari/sql_labs
docker-container sql-labs sql-lang sql-server tsql xml
Last synced: 3 months ago
JSON representation
🛢️ SQL LABS - Creating Database Systems on SQL Server
- Host: GitHub
- URL: https://github.com/fabianacampanari/sql_labs
- Owner: FabianaCampanari
- License: apache-2.0
- Created: 2023-12-17T01:58:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-16T12:33:44.000Z (4 months ago)
- Last Synced: 2024-10-18T12:56:43.136Z (4 months ago)
- Topics: docker-container, sql-labs, sql-lang, sql-server, tsql, xml
- Language: SQL
- Homepage: https://github.com/FabianaCampanari/SQL_LABS
- Size: 21 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codeowners: CODEOWNERS.txt
- Security: SECURITY.md
- Support: Support Material/Data Types in SQL Server.pdf
Awesome Lists containing this project
README
#
🛢️ SQL LABS - Creating Database Systems on SQL Servers
Here, you will find advanced techniques for the structure of a database system, as well as the mechanism and structure of SQL and other essential points to use the various features of SQL Server and its data query and manipulation structure.
####
***< made with vibe, frequency & joy />*** 🪬
## **This repository covers a variety of topics, including:**
- ***SSMS - SQL Server Management Studio Interface:***
- Connecting to a server, main panels, configuring the editor environment.
- ***Creating a database via SSMS:***
- How data is organized, creating a database, creating a table, manipulating data (insertion, editing, and deletion).
- ***Relational model and data normalization:***
- Concept of normalization, normal forms, relational model, descriptive model, conceptual model, logical model physical model.
- ***Introducing T-SQL:***
- Origin of SQL, T-SQL, subsets of SQL commands, instruction example.
- ***Creating a database via T-SQL:***
- Creating a script project, creating a script, executing a script, putting a database in use, creating a database, deleting a database.
- ***Constraints and table structure:***
- Creating rules, changing table structures.
- ***Creating indexes:***
- Concept of indexes, advantages and disadvantages of indexes, clustered indexes, non-clustered indexes.
- ***Attaching databases:***
- How to attach the databases that is used in this repo.
- ***Manipulating data:***
- Inserting records, updating records, deleting records.
- ***Working with transactions:***
- Types of transactions, OUTPUT instruction.
- ***Data query:***
- The group of DQL commands, ordering data, the TOP clause.
- ***Filters with operators:***
- Relational operators, arithmetic operators, logical operators,compound operator, filter examples with WHERE.
- ***Filters BETWEEN, LIKE, and IN:***- Search by range of values, search by a list, of values, search by part of content.
- **Joining data:**
- Data union, UNION operator, UNION ALL operator.
## Example of SQL Code
The SQL code below is an example related to a car dealership database. It includes the creation of tables for brands and models, along with foreign key constraints for the relationship between them. Additionally, it uses stored procedures like sp_help to view the structure of the created tables.
## SQL Certificate
#
#####
[Copyright 2024 Fabiana Campanari. Code released under the Apache 2.0 license.](https://github.com/FabianaCampanari/SQL_LABS/blob/5a8f935d961852f4801c868033cbdeb53e003b80/LICENSE)