current location:Home > Technical Articles > Database > SQL

  • What are the common data types in databases?
    What are the common data types in databases?
    Commonly used data types in databases are: 1. Integer data type; 2. Floating point data type, used to store decimals; 3. Binary data type; 4. Logical data type; 5. Character data type, used to store various letters , digital symbols, special symbols.
    SQL 39803 2020-06-16 17:22:16
  • Detailed explanation of sql isnull usage
    Detailed explanation of sql isnull usage
    In SQL, you can use [isnull] to replace the specified replacement value with NULL. This function is used to replace a NULL value. Its syntax is [ISNULL(check_expression, replacement_value)], and its parameter 1 checks whether it is NULL.
    SQL 5834 2020-06-16 17:15:16
  • What is an inner join?
    What is an inner join?
    Inner joins, the most common equivalent joins, are the earliest joins and are also called ordinary joins or natural joins. The effect is to delete all rows from the result table that do not match rows in other joined tables, so inner joins may lose information.
    SQL 9986 2020-06-16 16:44:05
  • In sql language, what is the command to delete a table?
    In sql language, what is the command to delete a table?
    In SQL language, the command to delete a table is [drop], and the commands to insert, delete and query data in the table are [INSERT], [UPDATE] and [SELECT] respectively.
    SQL 9898 2020-06-16 15:09:19
  • What should I do if it prompts that restarting the computer fails when installing Server SQL2008?
    What should I do if it prompts that restarting the computer fails when installing Server SQL2008?
    The solution to the problem of failure to restart the computer when installing Server SQL2008 is: 1. Open the Registry Editor; 2. Right-click the folder [MSSQLServer] and select [Delete]; 3. Delete the pendingFielRenameOperations option.
    SQL 8761 2020-06-16 11:35:17
  • What are the basic database operation statements?
    What are the basic database operation statements?
    The basic operation statements of the database are: 1. To query the database, the statement is [SHOW DATABASES]; 2. To query the structure of the database, the statement is [CREATEDATABASE score]; 3. To create a database, the statement is [DATABASE score DEFAULT CHARSET].
    SQL 13898 2020-06-15 14:05:11
  • What is the difference between hql and sql
    What is the difference between hql and sql
    The difference between hql and sql is: 1. The query is different, sql is oriented to database table query, hql is oriented to object query; 2. The judgment conditions are different, the class name followed by from in hql and the class object where are used as conditions for the object's attributes, sql What is followed by from is the table where and then the fields in the table are used to perform conditional queries.
    SQL 16011 2020-06-15 13:19:19
  • Detailed explanation of usage of sql statement case when
    Detailed explanation of usage of sql statement case when
    The usage of [case when] in SQL is: 1. Use [case field name when field value then value 1 else value 2 end] to judge the field value; 2. Use [case when condition then value 1 else value 2 end] to judge Field value.
    SQL 53456 2020-06-13 15:08:27
  • MySQL modifies the table structure and its functions of adding, deleting and modifying fields
    MySQL modifies the table structure and its functions of adding, deleting and modifying fields
    mysql is powerful, has many uses, and has many unique uses. This article introduces in detail the MySQL table structure modification and its functions of adding, deleting, and modifying fields. I hope it will help everyone.
    SQL 3885 2020-06-12 09:00:38
  • What is the usage of SQL Union?
    What is the usage of SQL Union?
    Union is a SQL operator used to combine the results of multiple SELECT statements into a result set. Its syntax is "UNION ALL SELECT * FROM TableB UNION SELECT * FROM TableC".
    SQL 9935 2020-06-09 16:21:31
  • How to use like in sql
    How to use like in sql
    In SQL, like uses wildcards to compare a value with similar values. Its usage is: 1. Percent wildcard character, the syntax is [WHERE SALARY LIKE '200%']; 2. Percent wildcard character, the syntax is [WHERE SALARY] LIKE '_2%3'].
    SQL 20863 2020-06-09 15:40:32
  • What is the sql statement to view the table structure?
    What is the sql statement to view the table structure?
    The sql statement to view the table structure is: 1. In mysql, use the sql statement [desc table name] to view; 2. In Oracle, use the sql statement [select * from user_tab_columns where table_name=‘uppercase table name‘] to view.
    SQL 26428 2020-06-08 11:46:50
  • How to delete data using delete statement
    How to delete data using delete statement
    How to use the delete statement to delete data: first create a temporary table; then use the statement "select * from" to query the temporary table; finally use the delete statement "delete #tblDelete where Code = 'Code3'" to delete the data.
    SQL 16517 2020-05-26 10:49:07
  • What are the command phrases used for grouping in database queries?
    What are the command phrases used for grouping in database queries?
    The command phrase that needs to be grouped in database queries is "GROUP BY". The "GROUP BY" phrase is used to group the query results and can be used for group summary. The "HAVING" phrase cannot be separated from the "GROUP BY" phrase. exist independently.
    SQL 6751 2020-05-16 09:45:29
  • What is the sql statement to delete an index?
    What is the sql statement to delete an index?
    The SQL statement to delete the index is: [drop index [indexname] on mytable;]. We can use the [alter table tbl_name add index index_name (column_list):] statement to add an index.
    SQL 10298 2020-05-13 11:17:13

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28