Skip to content

Instantly share code, notes, and snippets.

@code-machina
Created April 5, 2019 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save code-machina/94307c2e8f68d9b8e9c3ac8f2bd2cdf8 to your computer and use it in GitHub Desktop.
Save code-machina/94307c2e8f68d9b8e9c3ac8f2bd2cdf8 to your computer and use it in GitHub Desktop.
Mysql Sql Example for Student DAL(Data Access Layer)
create database projectdb
use projectdb
create table studenttab(
id int PRIMARY KEY AUTO_INCREMENT,
sname varchar(20),
scourse varchar(30),
sfee int
)
select * from studenttab
drop table studenttab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment