📞 0339-0387701 (WhatsApp)
Contact
☰
🔍
Home
Important MCQs
Computer
Current Affairs
Data Science & AI (NCCIA)
Database & Data Handling (NCCIA)
English
Everyday Science
General Knowledge
General Science
Information & Networking (NCCIA)
Islamic Studies MCQs
Maths MCQs
Pak Study
Pedagogy
Software Engineering (NCCIA)
Telecom / Electrical Fundamentals (NCCIA)
Urdu MCQs
Past Papers
ASF Past Papers
FIA Past Papers
FPSC Past Papers
NCCIA Past Papers
NTS Past Papers
PPSC Past Papers
Latest Jobs
Army Jobs
Education Department
Federal Govt Jobs
Health Department
Police Jobs
Sindh Govt Jobs
Resources
About Us
Contact
🔍
Home
» Which data type is best for storing a salary such as 85450.75?
« Back to Database & Data Handling (NCCIA)
Which data type is best for storing a salary such as 85450.75?
A. INT
B. BOOLEAN
C. DECIMAL(10,2) ✅
D. CHAR(10)
Correct Answer:
C. DECIMAL(10,2)
Explanation
DECIMAL(10,2) stores exact decimal values with two places after the point.
INT cannot store fractions and CHAR stores text.
« Which data type is most suitable for storing a person’s…
What is the main difference between CHAR(10) and VARCHAR(10)? »
Related MCQs
Why should a foreign key be indexed in a large database?
Which relationship holds between a candidate key and a superkey?
Which statement about a unique key and NULL is true in most DBMSs?
A hospital has patients, doctors and appointments. Which is the most likely entity set?
Which statement finds students from Lahore or Karachi?
The internal level is concerned with:
In crow’s foot notation, what does a single straight bar across the relationship line indicate?
Which foreign-key implementation is correct for a self-referencing table in SQL?