Professional Documents
Culture Documents
SQL Fundamentals
SQL Fundamentals
-- Create Database
-- select database --- here is a news, new learners tend to forget this step. trust me even after
telling
-- this i ll experience same errors : ha ha ha haaaaaa
-- create table
-- display table
-- insert record in Table.
-- What is a Database ?
-- a Database is a container like structure used to store or organise TABLES.
-- points to remember
-- SQL is Case IN-Sensitive Language
-- Each SQL Statement must terminate using ;(semicolon)
-- press command+return(mac) , ctrl+enter (windows) to execute sql statement.
-- select database
use dsc56_bootcamp;
-- let us learn how to insert record a record in a table using insert statement
-- syntax: insert <tableName> values ( ? , ? , ? , ?);
insert stock values (101, 'acer laptop',50000,' an entertainment laptop');