In the context of this exercise, what do we use to work with databases?
Answer
To work with databases, we use software known as database management systems, or DBMS for short. Database management systems let us do very useful things such as create and manipulate database tables, by writing and running code in the form of queries or statements. For an example, the following query will return all the rows from a database,
SELECT *
FROM table;
Some of the most popular and well-known database management systems are SQLite which is used in the courses on Codecademy, Oracle, SQL Server, MySQL, and PostgreSQL.
We use data bases because is a way to have the data organized. In this sense then is necessary a management system to administrate the data so people develop a language to administrate de organized data in a databases.
Select 1 from (table_name) => will return a column named [1] and having value = 1 for the number of rows in the table you specified in (table_name).
if you want to only select first column in your table use :
SELECT [Column_name] FROM [TableName]
The thing is, looking at the schema there wasn’t a column named 1. Is it that integer selections will override the logic of the database and generate it’s own table?
No, it doesn’t. If you are new to coding, I can recommend starting with Code Foundations career path. I started with it😉. It helped me to decide what to learn🥳.
We use a data management systems such as a SQL, Excel or Google Sheets to sift through data and draw conclusions based on the problem we’re attempting to solve, or information we’re attempting to string together to tell a cohesive story.
We use a software to work with database known as Data Base Management System or DBMS in short.
To interact with the DBMS ,we write SQL(structured query language) queries like: SELECT * FROM tablename;
will fetch or display all tables of the tablename table
For example if a table students exists in database, then to display it we write: SELECT * FROM students;
Some of the popular dbms software used today Mysql, PostgreSQL, Oracle etc.
What we use to work with databases is SQL, because this database management system allows us to order the data in a table. And in this way it’s easier for us when we want to manipulate it.