SQL Case Statement And Case Expression

SQL Case Statement And Case Expression

Thumbnail

Copy/Paste following commands in mysql workbench for creating table and inserting data in it

create database if not exists tg117 ;
use tg117 ;

drop table employee;
create table employee(eid int,ename varchar(30), monthly_salary float);

insert into employee(eid,ename,monthly_salary) values
(1,'Mahendra Bahubali',35000),
(2,'Fulchand Tripathi',15000),
(3,'Ranchod Das Chanchad',45000),
(4,'Ganesh Gaitonde',7000),
(5,'Ibu Hatela',9000),
(6,'Saiman Says',1000000);

select * from employee ;

Conditions to be applied :

Expected Output :

Leave your thought here

Your email address will not be published. Required fields are marked *

Technological Geeks

The main objective of “TG” family is to provide guidance about the recent technologies to students , beginners and IT professionals .

Contact Us

sdp117@gmail.com
Contact No: 9028378280
New Vishal Nagar, Gajanan Mandir, Garkheda, Aurangabad

Copyright © 2022 | Technological Geeks. All Rights Reserved.

Shopping cart

0

No products in the cart.

Hit Enter to search or Esc key to close