⚡️ Pass with Confidence Sale - 40% off ALL packages! ⚡️

1 day, 22 hours remaining!

CompTIA Data+ DA0-002 (V2) Practice Question

Your organization stores order data in different relational database engines, including PostgreSQL 16, MySQL 8 and Microsoft SQL Server 2022. You have been asked to deliver a single ANSI-SQL query that will run unchanged in all three systems. The query must calculate a column named order_type that returns the string "Bulk" when the quantity column is greater than 500 and "Regular" for all other rows. Which logical function or construct should you use inside the SELECT list to create that column while meeting the portability requirement?

  • DECODE function

  • NVL function

  • CASE expression

  • IIF function

CompTIA Data+ DA0-002 (V2)
Data Analysis
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot