Why SQL is used in a website ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why SQL is used in a website ?

Why SQL is used in a website ? Is it used for monitoring website vistors behavior? Or Is it used for maintain database?

15th Jan 2020, 1:29 AM
Dhruv Kumar Roy
Dhruv Kumar Roy - avatar
4 Answers
+ 7
It's used to retrieve from and put data into a site database. Also there can be used ORM which allows to automatically 'translate' queries written in some server side language into SQL.
19th Jan 2020, 5:49 PM
SergeiRom
+ 7
you can make. websites without sql, it depends. If you want to make a website, and interact with users like notify them, ummm for example each user has an account and each user wanna save things to their profile, in that case you must use sql. But if you want to make a website just links and pages, you don't need to use sql. Hope this helps, plus hope this answers your question.
19th Jan 2020, 7:32 PM
Anon Fox
Anon Fox - avatar
+ 3
Some dynamic content on a website can come from a database. Imagine an online forum that changes all the time as comments are added. The current list of comments is retrieved from database by SQL query, every time the page is refreshed.
15th Jan 2020, 5:04 AM
Tibor Santa
Tibor Santa - avatar
0
Read on RDBMS, it is strongly related to Sql
15th Jan 2020, 1:57 AM
Da2
Da2 - avatar