Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Class notes BSCIT

Rating
-
Sold
-
Pages
19
Uploaded on
29-11-2023
Written in
2023/2024

It is veru helpful documents fr bsc students as it contains questions and answers as like question bank

Institution
Course

Content preview

(a)

mysql> create table Person(first_name varchar(20) NOT NULL, last_name varchar(20) NOT NULL, ID int
primary key,salary int NOT NULL);

mysql> desc person;

mysql> insert into person values ("Ramesh","Jha",1,20000), ("Suresh","Kushwaha",2,30000),
("Rajesh","Gupta",3,40000);

(b)

mysql> select last_name, salary from person where salary>30000;

mysql> select * from person;

,
, (a)

mysql> create table employee( emp_ID int primary key, emp_name varchar(20), dept_id varchar(20), doj
date, designation varchar(20));

mysql> desc employee;

mysql> insert into employee values

-> (1,"Ramesh","A1",'2016-02-26',"Manager"),

-> (2,"Suresh","B1",'2022-06-16',"Clerk"),

-> (3,"Rajesh","C1",'2023-02-26',"IT"),

-> (4,"Ganesh","D1",'2017-04-06',"Clerk"),

-> (5,"Birjesh","E1",'2010-01-01',"Clerk");

mysql> select * from employee;

(b)

mysql> alter table employee add email varchar(20);

mysql> alter table employee drop column email;

mysql> alter table employee modify emp_id varchar(20);

Written for

Course

Document information

Uploaded on
November 29, 2023
Number of pages
19
Written in
2023/2024
Type
Class notes
Professor(s)
Manali mam
Contains
13 -15

Subjects

$8.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
zaidshaikh1

Get to know the seller

Seller avatar
zaidshaikh1 Rd national college
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions