Answers for "denormalise sql"

SQL
0

what is denormalization in sql

Denormalization is a strategy used 
on a previously-normalized database to 
increase performance. In computing, 
denormalization is the process of trying 
to improve the read performance of a database, 
at the expense of losing some write performance,
by adding redundant copies of data or by grouping data.
Posted by: Guest on December-13-2020
0

denormalise SQL command

select d.StudentId, d.Name, d.Course, r1.result as Term1Result, r2.result as Term2Result
from StudentDetails d
left join StudentResults r1 on d.StudentId = r1.StudentId and r1.term = 1
left join StudentResults r2 on d.StudentId = r2.StudentId and r2.term = 2
Posted by: Guest on May-22-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language