Hey there,
I am doing the periodic table project and I can not make it pass some test from the ‘Fix the database’ part. This are the three test I can not pass.
-
You should remove all the trailing zeros after the decimals from each row of the
atomic_mass
column. You may need to adjust a data type toDECIMAL
for this. Be careful not to change the value -
You should add the element with atomic number
9
to your database. Its name isFluorine
, symbol isF
, mass is18.998
, melting point is-220
, boiling point is-188.1
, and it’s anonmetal
-
You should add the element with atomic number
10
to your database. Its name isNeon
, symbol isNe
, mass is20.18
, melting point is-248.6
, boiling point is-246.1
, and it’s anonmetal
.
The two elements are added in the tables already, I guess the problem is with the first test.
Here is a screenshot of a query which extracts all the data from the properties and elements tables joined:
I cant figure out what is wrong here and why the tests dont pass.
Any help is appriciated. Thank you!