Skip to content

A repository containing SQL code examples for creating a sample database with functionalities like data insertion, manipulation, and retrieval.

Notifications You must be signed in to change notification settings

Maureen-Mwendwa/sql-sample-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Sample Database with SQL Queries

This repository contains examples of SQL code used to create a sample database named "library" with a table named "books". It demonstrates various functionalities like data insertion, manipulation, and retrieval.

Functionality Examples:

-Creating the database and table structure -Inserting sample data into the table -Selecting all data from the table -Updating specific data in the table -Retrieving data based on criteria (publication year) -Finding distinct values in a column (genre) -Aliasing a column name (author to book author)

select-all

Retrieve-2020

distinct-genre

alias

About

A repository containing SQL code examples for creating a sample database with functionalities like data insertion, manipulation, and retrieval.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published