8 kyu

Easy SQL: Rounding Decimals

14,322 of 14,324PG1

Description:

Given the following table 'decimals':

** decimals table schema **

  • id
  • number1
  • number2

Return a table with two columns (number1, number2), the value in number1 should be rounded down and the value in number2 should be rounded up.

Fundamentals
SQL

Stats:

CreatedJun 21, 2017
PublishedJun 21, 2017
Warriors Trained17578
Total Skips913
Total Code Submissions39946
Total Times Completed14324
SQL Completions14322
Total Stars59
% of votes with a positive feedback rating91% of 1597
Total "Very Satisfied" Votes1347
Total "Somewhat Satisfied" Votes199
Total "Not Satisfied" Votes51
Total Rank Assessments32
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • PG1 Avatar
  • Chrono79 Avatar
  • Voile Avatar
Ad