You are on page 1of 25

sno Datatypes examples-1 examples-2 sno

1 whole number 123 456 1


2 decimal number 123.00 456.00 2
3 boolean 1 0 3
4 text abc cde 4
5 date Saturday, December 18, 2021 5
6 currency 6
7 N/A blank from sql database coming out 7
8 % 87% 8

₹ 123.00
Datatypes examples-1 examples-2
whole number 123 456
decimal number 123.00 456.00
boolean 1 0
text abc cde
date 18/Dec/2021
currency ₹ 123.00
N/A blank from sql database coming out
% 87%

18-Dec-21
length(cm) width(cm) length(inch) width(inch) inch cm
1 10 0.4 4
5 10 2 4 0.4 1
3 8 1.2 3.2
6 10 2.4 4
8 13 3.2 5.2
product price prices/month jan feb march
jeans ₹ 80 jeans ₹ 64 ₹ 56 ₹ 60
shirt ₹ 30 shirt ₹ 24 ₹ 21 ₹ 23

prices/month jan feb march


month Jan Feb mar jeans ₹ 64 ₹ 56 ₹ 60
discount 20% 30% 25% shirt ₹ 24 ₹ 21 ₹ 23

0 0
1 1

Boolean
X Y AND(Mulplication) OR(addition) NOT
0 0 0 0 1
0 1 0 1 1
1 0 0 1 0
1 1 1 1 0
month/price jeans shirt prices/month jeans shirt
jan jan 64 24
feb feb 56 21
mar march 60 22.5
STUDENT marks height(M) weight(KG)bmi
a 81 1.64 65 24.16716 13
b 85
c 31
d 44
e 52
f 68
g 47
h 87
participant Country
xyz, India India
abc, USA USA
def, UK UK
ghi, Canada Canada
Row ID Order ID Order Date Ship Date Ship Mode Customer ID Customer Name
1 CA-2016-152156 11/8/2016 11/11/2016 Second Class CG-12520 Claire Gute
2 CA-2016-152156 11/8/2016 11/11/2016 Second Class CG-12520 Claire Gute
3 CA-2016-138688 6/12/2016 6/16/2016 Second Class DV-13045 Darrin Van Huff
4 US-2015-108966 10/11/2015 10/18/2015 Standard Class SO-20335 Sean O'Donnell
5 US-2015-108966 10/11/2015 10/18/2015 Standard Class SO-20335 Sean O'Donnell
6 CA-2014-115812 6/9/2014 6/14/2014 Standard Class BH-11710 Brosina Hoffman
7 CA-2014-115812 6/9/2014 6/14/2014 Standard Class BH-11710 Brosina Hoffman
8 CA-2014-115812 6/9/2014 6/14/2014 Standard Class BH-11710 Brosina Hoffman
9 CA-2014-115812 6/9/2014 6/14/2014 Standard Class BH-11710 Brosina Hoffman
10 CA-2014-115812 6/9/2014 6/14/2014 Standard Class BH-11710 Brosina Hoffman
11 CA-2014-115812 6/9/2014 6/14/2014 Standard Class BH-11710 Brosina Hoffman
12 CA-2014-115812 6/9/2014 6/14/2014 Standard Class BH-11710 Brosina Hoffman
13 CA-2017-114412 4/15/2017 4/20/2017 Standard Class AA-10480 Andrew Allen
14 CA-2016-161389 12/5/2016 12/10/2016 Standard Class IM-15070 Irene Maddox
15 US-2015-118983 11/22/2015 11/26/2015 Standard Class HP-14815 Harold Pawlan
16 US-2015-118983 11/22/2015 11/26/2015 Standard Class HP-14815 Harold Pawlan
17 CA-2014-105893 11/11/2014 11/18/2014 Standard Class PK-19075 Pete Kriz
18 CA-2014-167164 5/13/2014 5/15/2014 Second Class AG-10270 Alejandro Grove
19 CA-2014-143336 8/27/2014 9/1/2014 Second Class ZD-21925 Zuschuss Donatelli
20 CA-2014-143336 8/27/2014 9/1/2014 Second Class ZD-21925 Zuschuss Donatelli
21 CA-2014-143336 8/27/2014 9/1/2014 Second Class ZD-21925 Zuschuss Donatelli
22 CA-2016-137330 12/9/2016 12/13/2016 Standard Class KB-16585 Ken Black
23 CA-2016-137330 12/9/2016 12/13/2016 Standard Class KB-16585 Ken Black
24 US-2017-156909 7/16/2017 7/18/2017 Second Class SF-20065 Sandra Flanagan
25 CA-2015-106320 9/25/2015 9/30/2015 Standard Class EB-13870 Emily Burns
26 CA-2016-121755 1/16/2016 1/20/2016 Second Class EH-13945 Eric Hoffmann
27 CA-2016-121755 1/16/2016 1/20/2016 Second Class EH-13945 Eric Hoffmann
28 US-2015-150630 9/17/2015 9/21/2015 Standard Class TB-21520 Tracy Blumstein
29 US-2015-150630 9/17/2015 9/21/2015 Standard Class TB-21520 Tracy Blumstein
30 US-2015-150630 9/17/2015 9/21/2015 Standard Class TB-21520 Tracy Blumstein
31 US-2015-150630 9/17/2015 9/21/2015 Standard Class TB-21520 Tracy Blumstein
32 US-2015-150630 9/17/2015 9/21/2015 Standard Class TB-21520 Tracy Blumstein
33 US-2015-150630 9/17/2015 9/21/2015 Standard Class TB-21520 Tracy Blumstein
34 US-2015-150630 9/17/2015 9/21/2015 Standard Class TB-21520 Tracy Blumstein
35 CA-2017-107727 10/19/2017 10/23/2017 Second Class MA-17560 Matt Abelman
36 CA-2016-117590 12/8/2016 12/10/2016 First Class GH-14485 Gene Hale
37 CA-2016-117590 12/8/2016 12/10/2016 First Class GH-14485 Gene Hale
38 CA-2015-117415 12/27/2015 12/31/2015 Standard Class SN-20710 Steve Nguyen
39 CA-2015-117415 12/27/2015 12/31/2015 Standard Class SN-20710 Steve Nguyen
40 CA-2015-117415 12/27/2015 12/31/2015 Standard Class SN-20710 Steve Nguyen
41 CA-2015-117415 12/27/2015 12/31/2015 Standard Class SN-20710 Steve Nguyen
42 CA-2017-120999 9/10/2017 9/15/2017 Standard Class LC-16930 Linda Cazamias
43 CA-2016-101343 7/17/2016 7/22/2016 Standard Class RA-19885 Ruben Ausman
44 CA-2017-139619 9/19/2017 9/23/2017 Standard Class ES-14080 Erin Smith
45 CA-2016-118255 3/11/2016 3/13/2016 First Class ON-18715 Odella Nelson
46 CA-2016-118255 3/11/2016 3/13/2016 First Class ON-18715 Odella Nelson
47 CA-2014-146703 10/20/2014 10/25/2014 Second Class PO-18865 Patrick O'Donnell
48 CA-2016-169194 6/20/2016 6/25/2016 Standard Class LH-16900 Lena Hernandez
49 CA-2016-169194 6/20/2016 6/25/2016 Standard Class LH-16900 Lena Hernandez
Segment Country City State Postal Code Region Product ID
Consumer United States Henderson Kentucky 42420 South FUR-BO-10001798
Consumer United States Henderson Kentucky 42420 South FUR-CH-10000454
Corporate United States Los Angeles California 90036 West OFF-LA-10000240
Consumer United States Fort Lauderdale Florida 33311 South FUR-TA-10000577
Consumer United States Fort Lauderdale Florida 33311 South OFF-ST-10000760
Consumer United States Los Angeles California 90032 West FUR-FU-10001487
Consumer United States Los Angeles California 90032 West OFF-AR-10002833
Consumer United States Los Angeles California 90032 West TEC-PH-10002275
Consumer United States Los Angeles California 90032 West OFF-BI-10003910
Consumer United States Los Angeles California 90032 West OFF-AP-10002892
Consumer United States Los Angeles California 90032 West FUR-TA-10001539
Consumer United States Los Angeles California 90032 West TEC-PH-10002033
Consumer United States Concord North Carolina 28027 South OFF-PA-10002365
Consumer United States Seattle Washington 98103 West OFF-BI-10003656
Home Office United States Fort Worth Texas 76106 Central OFF-AP-10002311
Home Office United States Fort Worth Texas 76106 Central OFF-BI-10000756
Consumer United States Madison Wisconsin 53711 Central OFF-ST-10004186
Consumer United States West Jordan Utah 84084 West OFF-ST-10000107
Consumer United States San Francisco California 94109 West OFF-AR-10003056
Consumer United States San Francisco California 94109 West TEC-PH-10001949
Consumer United States San Francisco California 94109 West OFF-BI-10002215
Corporate United States Fremont Nebraska 68025 Central OFF-AR-10000246
Corporate United States Fremont Nebraska 68025 Central OFF-AP-10001492
Consumer United States Philadelphia Pennsylvania 19140 East FUR-CH-10002774
Consumer United States Orem Utah 84057 West FUR-TA-10000577
Consumer United States Los Angeles California 90049 West OFF-BI-10001634
Consumer United States Los Angeles California 90049 West TEC-AC-10003027
Consumer United States Philadelphia Pennsylvania 19140 East FUR-BO-10004834
Consumer United States Philadelphia Pennsylvania 19140 East OFF-BI-10000474
Consumer United States Philadelphia Pennsylvania 19140 East FUR-FU-10004848
Consumer United States Philadelphia Pennsylvania 19140 East OFF-EN-10001509
Consumer United States Philadelphia Pennsylvania 19140 East OFF-AR-10004042
Consumer United States Philadelphia Pennsylvania 19140 East OFF-BI-10001525
Consumer United States Philadelphia Pennsylvania 19140 East OFF-AR-10001683
Home Office United States Houston Texas 77095 Central OFF-PA-10000249
Corporate United States Richardson Texas 75080 Central TEC-PH-10004977
Corporate United States Richardson Texas 75080 Central FUR-FU-10003664
Home Office United States Houston Texas 77041 Central OFF-EN-10002986
Home Office United States Houston Texas 77041 Central FUR-BO-10002545
Home Office United States Houston Texas 77041 Central FUR-CH-10004218
Home Office United States Houston Texas 77041 Central TEC-PH-10000486
Corporate United States Naperville Illinois 60540 Central TEC-PH-10004093
Corporate United States Los Angeles California 90049 West OFF-ST-10003479
Corporate United States Melbourne Florida 32935 South OFF-ST-10003282
Corporate United States Eagan Minnesota 55122 Central TEC-AC-10000171
Corporate United States Eagan Minnesota 55122 Central OFF-BI-10003291
Consumer United States Westland Michigan 48185 Central OFF-ST-10001713
Consumer United States Dover Delaware 19901 East TEC-AC-10002167
Consumer United States Dover Delaware 19901 East TEC-PH-10003988
Category Sub-Category
Furniture Bookcases
Furniture Chairs
Office Supplies Labels
Furniture Tables
Office Supplies Storage
Furniture Furnishings
Office Supplies Art
Technology Phones
Office Supplies Binders
Office Supplies Appliances
Furniture Tables
Technology Phones
Office Supplies Paper
Office Supplies Binders
Office Supplies Appliances
Office Supplies Binders
Office Supplies Storage
Office Supplies Storage
Office Supplies Art
Technology Phones
Office Supplies Binders
Office Supplies Art
Office Supplies Appliances
Furniture Chairs
Furniture Tables
Office Supplies Binders
Technology Accessories
Furniture Bookcases
Office Supplies Binders
Furniture Furnishings
Office Supplies Envelopes
Office Supplies Art
Office Supplies Binders
Office Supplies Art
Office Supplies Paper
Technology Phones
Furniture Furnishings
Office Supplies Envelopes
Furniture Bookcases
Furniture Chairs
Technology Phones
Technology Phones
Office Supplies Storage
Office Supplies Storage
Technology Accessories
Office Supplies Binders
Office Supplies Storage
Technology Accessories
Technology Phones
Product Name
Bush Somerset Collection Bookcase
Hon Deluxe Fabric Upholstered Stacking Chairs, Rounded Back
Self-Adhesive Address Labels for Typewriters by Universal
Bretford CR4500 Series Slim Rectangular Table
Eldon Fold 'N Roll Cart System
Eldon Expressions Wood and Plastic Desk Accessories, Cherry Wood
Newell 322
Mitel 5320 IP Phone VoIP phone
DXL Angle-View Binders with Locking Rings by Samsill
Belkin F5C206VTEL 6 Outlet Surge
Chromcraft Rectangular Conference Tables
Konftel 250 Conference phone - Charcoal black
Xerox 1967
Fellowes PB200 Plastic Comb Binding Machine
Holmes Replacement Filter for HEPA Air Cleaner, Very Large Room, HEPA Filter
Storex DuraTech Recycled Plastic Frosted Binders
Stur-D-Stor Shelving, Vertical 5-Shelf: 72"H x 36"W x 18 1/2"D
Fellowes Super Stor/Drawer
Newell 341
Cisco SPA 501G IP Phone
Wilson Jones Hanging View Binder, White, 1"
Newell 318
Acco Six-Outlet Power Strip, 4' Cord Length
Global Deluxe Stacking Chair, Gray
Bretford CR4500 Series Slim Rectangular Table
Wilson Jones Active Use Binders
Imation 8GB Mini TravelDrive USB 2.0 Flash Drive
Riverside Palais Royal Lawyers Bookcase, Royale Cherry Finish
Avery Recycled Flexi-View Covers for Binding Systems
Howard Miller 13-3/4" Diameter Brushed Chrome Round Wall Clock
Poly String Tie Envelopes
BOSTON Model 1800 Electric Pencil Sharpeners, Putty/Woodgrain
Acco Pressboard Covers with Storage Hooks, 14 7/8" x 11", Executive Red
Lumber Crayons
Easy-staple paper
GE 30524EE4
Electrix Architect's Clamp-On Swing Arm Lamp, Black
#10-4 1/8" x 9 1/2" Premium Diagonal Seam Envelopes
Atlantic Metals Mobile 3-Shelf Bookcases, Custom Colors
Global Fabric Manager's Chair, Dark Gray
Plantronics HL10 Handset Lifter
Panasonic Kx-TS550
Eldon Base for stackable storage shelf, platinum
Advantus 10-Drawer Portable Organizer, Chrome Metal Frame, Smoke Drawers
Verbatim 25 GB 6x Blu-ray Single Layer Recordable Disc, 25/Pack
Wilson Jones Leather-Like Binders with DublLock Round Rings
Gould Plastics 9-Pocket Panel Bin, 18-3/8w x 5-1/4d x 20-1/2h, Black
Imation 8gb Micro Traveldrive Usb 2.0 Flash Drive
LF Elite 3D Dazzle Designer Hard Case Cover, Lf Stylus Pen and Wiper For Apple Iphone 5c Mini Lite
Sales Quantity Discount Profit
261.96 2 0 41.9136
731.94 3 0 219.582
14.62 2 0 6.8714
957.5775 5 0.45 -383.031
22.368 2 0.2 2.5164
48.86 7 0 14.1694
7.28 4 0 1.9656
907.152 6 0.2 90.7152
18.504 3 0.2 5.7825
114.9 5 0 34.47
1706.184 9 0.2 85.3092
911.424 4 0.2 68.3568
15.552 3 0.2 5.4432
407.976 3 0.2 132.5922
68.81 5 0.8 -123.858
2.544 3 0.8 -3.816
665.88 6 0 13.3176
55.5 2 0 9.99
8.56 2 0 2.4824
213.48 3 0.2 16.011
22.72 4 0.2 7.384
19.46 7 0 5.0596
60.34 7 0 15.6884
71.372 2 0.3 -1.0196
1044.63 3 0 240.2649
11.648 2 0.2 4.2224
90.57 3 0 11.7741
3083.43 7 0.5 -1665.0522
9.618 2 0.7 -7.0532
124.2 3 0.2 15.525
3.264 2 0.2 1.1016
86.304 6 0.2 9.7092
6.858 6 0.7 -5.715
15.76 2 0.2 3.546
29.472 3 0.2 9.9468
1097.544 7 0.2 123.4737
190.92 5 0.6 -147.963
113.328 9 0.2 35.415
532.3992 3 0.32 -46.9764
212.058 3 0.3 -15.147
371.168 4 0.2 41.7564
147.168 4 0.2 16.5564
77.88 2 0 3.894
95.616 2 0.2 9.5616
45.98 2 0 19.7714
17.46 2 0 8.2062
211.96 4 0 8.4784
45 3 0 4.95
21.8 2 0 6.104
City State Sales Quantity Discount Profit
San Francisco California 213 3 0 16
San Francisco California 23 4 0 7
San Francisco California 9 2 0 2
Los Angeles California 907 6 0 91
Los Angeles California 1706 9 0 85
Los Angeles California 911 4 0 68
Los Angeles California 115 5 0 34
Los Angeles California 49 7 0 14
Los Angeles California 91 3 0 12
Los Angeles California 15 2 0 7
Los Angeles California 19 3 0 6
Los Angeles California 12 2 0 4
Los Angeles California 78 2 0 4
Los Angeles California 7 4 0 2
Dover Delaware 22 2 0 6
Dover Delaware 45 3 0 5
Melbourne Florida 96 2 0 10
Fort Lauderdale Florida 22 2 0 3
Fort Lauderdale Florida 958 5 0 -383
Naperville Illinois 147 4 0 17
Henderson Kentucky 732 3 0 220
Henderson Kentucky 262 2 0 42
Westland Michigan 212 4 0 8
Eagan Minnesota 46 2 0 20
Eagan Minnesota 17 2 0 8
Fremont Nebraska 60 7 0 16
Fremont Nebraska 19 7 0 5
Concord North Carolina 16 3 0 5
Philadelphia Pennsylvania 124 3 0 16
Philadelphia Pennsylvania 86 6 0 10
Philadelphia Pennsylvania 16 2 0 4
Philadelphia Pennsylvania 3 2 0 1
Philadelphia Pennsylvania 71 2 0 -1
Philadelphia Pennsylvania 7 6 1 -6
Philadelphia Pennsylvania 10 2 1 -7
Philadelphia Pennsylvania 3083 7 1 -1665
Richardson Texas 1098 7 0 123
Richardson Texas 191 5 1 -148
Houston Texas 371 4 0 42
Houston Texas 113 9 0 35
Houston Texas 29 3 0 10
Houston Texas 212 3 0 -15
Houston Texas 532 3 0 -47
Fort Worth Texas 3 3 1 -4
Fort Worth Texas 69 5 1 -124
West Jordan Utah 56 2 0 10
Orem Utah 1045 3 0 240
Seattle Washington 408 3 0 133
Madison Wisconsin 666 6 0 13
City State
San Francisco California
Los Angeles California
Dover Delaware
Melbourne Florida
Fort Lauderdale Florida
Naperville Illinois
Henderson Kentucky
Westland Michigan
Eagan Minnesota
Fremont Nebraska
Concord North Carolina
Philadelphia Pennsylvania
Richardson Texas
Houston Texas
Fort Worth Texas
West Jordan Utah
Orem Utah
Seattle Washington
Madison Wisconsin
Customer Name FIRST NAME LAST NAME name
Candice_Levy Candice Levy Candice Levy
Xerxes_Smith Xerxes Smith Xerxes Smith
Levi_Douglas Levi Douglas Levi Douglas
Uriel_Benton Uriel Benton Uriel Benton
Celeste_Pugh Celeste Pugh Celeste Pugh
Vance_Campos Vance Campos Vance Campos
Latifah_Wall Latifah Wall Latifah Wall
Jane_Hernandez Jane Hernandez Jane Hernandez
Wanda_Garza Wanda Garza Wanda Garza
Athena_Fitzpatrick Athena Fitzpatrick Athena Fitzpatrick
Anjolie_Hicks Anjolie Hicks Anjolie Hicks
Isaac_Cooper Isaac Cooper Isaac Cooper
Asher_Weber Asher Weber Asher Weber
Ethan_Gregory Ethan Gregory Ethan Gregory
Hayes_Rollins Hayes Rollins Hayes Rollins
MacKenzie_Moss MacKenzie Moss MacKenzieMoss
Aphrodite_Brennan Aphrodite Brennan Aphrodite Brennan
Angela_Wise Angela Wise Angela Wise
James_Spencer James Spencer James Spencer
Adria_Kaufman Adria Kaufman Adria Kaufman
STUDENT subject marks subject
a math 81 math
b math 85 eng
c math 31 sci
d math 44
e math 52
f math 68
g math 47
h maths 87
a eng 81
b eng 72
c eng 77
d eng 73
e eng 87
f eng 64
g eng 67
h eng 72
i math 68
j eng 68
math
math
math
math
math
math
math
STUDENT subject marks attendence status(pass/fail) status(pass/fail)_attendence_And
a math 81 56 Pass Pass
b math 85 59 Pass Pass
c math 31 49 Fail Fail
d math 44 58 Fail Fail
e math 52 54 Pass Pass
f math 68 57 Pass Pass
g math 47 30 Fail Fail
h maths 87 47 Pass Fail
a eng 81 57 Pass Pass
b eng 72 59 Pass Pass
c eng 77 48 Pass Fail
d eng 73 50 Pass Pass
e eng 87 49 Pass Fail
f eng 64 40 Pass Fail
g eng 67 47 Pass Fail
h eng 72 48 Pass Fail
i math 68 59 Pass Pass
j eng 68 52 Pass Pass

X Y AND(MulpliOR(addition)NOT
0 0 0 0 1
0 1 0 1 1
1 0 0 1 0
1 1 1 1 0
status(pass/fail)_attendence_or Grade
Pass A Function
Pass A sum 1224
Fail C min 31
Pass C max 87
Pass B count 0
Pass B counta 22
Fail C avg 68
Pass A
Pass A
Pass A
Pass A
Pass A
Pass A
Pass B
Pass B
Pass A
Pass B
Pass B

100 70 A
69 50 B
<49 C
student total score perc
a 500 400 80%
b 500 450 90%
c 0 0 0%

You might also like