Answer:
The above query gives an error.
Explanation:
- The query gives an error because is not the correct syntax of the select or inserts query.
- The syntax of the select query is as follows: "select Attributes_1_name, Attributes_2_name,...., Attributes_n_name from table_name;".
- The syntax of the insert query is : "insert into table_name (column_1_name, column_2_name,...,column_n_name) values (column_1_value, column_2_value,...,column_n_value);".
- The syntax of the insert and select query is : "insert into table_name (select Attributes_1_name, Attributes_2_name,...., Attributes_n_name from table_name);".
- But the above query does not satisfy any property which is defined above. Hence it gives a compile-time error.
Rounding Numbers
Say you wanted to round the number 838.274. Depending on which place value you'll round to, the final result will vary. Rounding 838.274:
Rounding to the nearest hundred is 800
Rounding to the nearest ten is 840
Rounding to the nearest one is 838
Rounding to the nearest tenth is 838.3
Rounding to the nearest hundredth is 838.27