Skip to main content

Posts

Showing posts with the label database-languages

What is the Query, Basic Sub-Query, Complex Sub-Query ?

Query,Basic Sub-Query,Complex Sub-Query Query A database query is the use of a select statement to display desired information based on conditions from one or more tables. Different tables in the database store different information. By using query user can view his desired information as desired. For example, let's say that the employees database contains information about many employees. It can display the results of any employee who has joined in the last one year. Use of Select statement: A command of data query language is select statement. A database query is created using SQL statements. A select statement can be used to display data from multiple columns from one or more tables. But remember that select is not an independent statement. It must be accompanied by one or more other clauses for it to work. Some clauses must be used with this, while some clauses are optional. The most commonly used statement in SQL queries is the select statement. Form clause must be used with t...

View in Database

 View A view is a virtual table. A view looks like a table and works like a table. Apparently it will seem so to the user. In fact, a view is a table built with predefined queries. Some rows or all rows can be shown conditionally between views. Views can be created with one or more tables. When creating a view, the SELECT statement is actually executed, with which the view is created. The SELECT statement used to create the view can use only column names or more complex functions or calculated fields. A view is a predefined query stored in the database, which looks like a table and is used like a table, but which does not occupy any space in the database. A view is created in a database using the create view statement. A new view can be created from data from a single table, multiple tables or any other view. That user must have the necessary privileges to create the view. The syntax of the create view statement is as follows: CREATE [OR REPLACE] [ALGORITHM = (UNDEFINED | MERGE | T...

What is the MySql? How does it work?

MySQL MySQL key and its main features: The role of database in website development is different. The database is actually like a drugstore where different medicines are arranged in different directions, so that it is convenient to find them later, we can organize the information in the database as well. Let's talk about Facebook. Here the information of hundreds of crores of people including name, photo, date of birth, preferences etc. are stored in the database of Facebook, now if someone clicks on a name or searches a name or email etc. in the search box, then Facebook goes to the database inside it and finds that name or email. Extracts and presents its information to us. Now these tasks have to be done by creating the database, so that the information from here can be displayed on the web page. The software required for this is called RDBMS (Relational Database Management Software). Here we will see how to create database with MySQL database software. It is widely used in creat...