current location:Home>Technical Articles>Database>SQL

  • MongoDB – Polymorphic schema built with schemas
    MongoDB – Polymorphic schema built with schemas
    Brief description: When all documents in a collection have a similar but not identical structure, we call it polymorphic pattern. Example: User posts need to be used in actual business. The general structure of the posts is the same, but the specific content needs to be displayed differently according to different post types.
    SQL 3616 2019-07-01 18:02:05
  • MongoDB – Attribute schema built using schema
    MongoDB – Attribute schema built using schema
    Go directly to understand attribute mode. It is particularly suitable for the following situations: there is a large document, but it actually has some similar fields, and a subset of these fields has the same characteristics. In the end, these subset fields actually need to be sorted or queried.
    SQL 2736 2019-07-01 18:04:56
  • having usage
    having usage
    The function of the having clause is to filter the groups that meet the conditions. The having clause is restricted to the columns and aggregate expressions defined in the SELECT statement. The aggregate value needs to be referenced by repeating the aggregate function expression in the HAVING clause.
    SQL 23595 2019-07-29 14:07:27
  • Best Practices for MongoDB Indexes
    Best Practices for MongoDB Indexes
    Most developers know that indexing is faster. But in the actual process, we often encounter some questions & difficulties: the fields we query will have various cases. Do all fields involved in the query need to be indexed? How to choose between compound index and single field? Should I add both or a single field for each? This article attempts to explain the basic knowledge of indexing and answer the above questions
    SQL 3280 2019-06-24 17:36:15
  • What are the architectural characteristics of a database system
    What are the architectural characteristics of a database system
    The architectural features of the database system are three-level schema structure and two-level mapping, namely schema, outer schema, inner schema, outer schema/schema mapping, and schema/inner schema mapping.
    SQL 10891 2019-06-24 16:29:15
  • What the database design process does not include
    What the database design process does not include
    The database design process does not include algorithm design. The database design process mainly includes requirements analysis, conceptual structure design, logical structure analysis, database physical design, database implementation, database operation and maintenance stages.
    SQL 8374 2019-06-25 14:19:31
  • What are the types and characteristics of databases?
    What are the types and characteristics of databases?
    Database types: Databases are usually divided into two categories, namely relational databases and non-relational databases. Features: Relational databases are easy to maintain, easy to use, and complex to operate. As a supplement to relational databases, non-relational databases can achieve high efficiency and high performance in specific scenarios and characteristic problems.
    SQL 9184 2019-06-20 09:03:04
  • Detailed explanation of sql stored procedure examples
    Detailed explanation of sql stored procedure examples
    A stored procedure is a set of SQL statements designed to accomplish specific functions. It is similar to a programming language and includes data types, process control, input and output, and its own function library. We can learn more about the stored procedure in detail through the instance table Student, such as a parameterless stored procedure: select all the information in the Student table.
    SQL 8362 2019-06-15 14:05:23
  • What are the nine commonly used statements in SQL
    What are the nine commonly used statements in SQL
    The nine commonly used statements in SQL include create database, drop database, sql server, backup database, drop table tabname, drop index idxname, drop view view
    SQL 11909 2019-06-15 11:16:42
  • What is the command to modify the table structure in sql statement?
    What is the command to modify the table structure in sql statement?
    The command in the SQL statement to modify the table structure is ALTER TABLE. The ALTER TABLE statement is used to add, delete, or modify columns in an existing table.
    SQL 28966 2019-06-19 16:05:44
  • What is the sql modification statement?
    What is the sql modification statement?
    The sql modification statement is an UPDATE statement. The UPDATE statement is used to update existing records in the table. Please pay attention to the WHERE clause in the SQL UPDATE statement! The WHERE clause specifies which record or records need to be updated. If you omit the WHERE clause, all records will be updated!
    SQL 8035 2019-06-18 14:37:28
  • What is the database add statement?
    What is the database add statement?
    The database add statement is the INSERT INTO statement. The INSERT INTO statement is used to insert new records into the table. The INSERT INTO statement can be written in two forms: the first form does not need to specify the column name of the data to be inserted, and only needs to provide the inserted value; the second form requires Specify the column name and the value to be inserted.
    SQL 29872 2019-06-18 14:39:04
  • A brief discussion of database stored procedures
    A brief discussion of database stored procedures
    Database stored procedures: Stored procedures are methods, with similar method names, variables to be passed by the method, and return results, so stored procedures have stored procedure names, stored procedure parameters, and return values.
    SQL 40309 2020-09-12 14:54:54
  • Detailed explanation of database stored procedures
    Detailed explanation of database stored procedures
    Stored procedures can be viewed as stored t-sql scripts in the database. Why use stored procedures? 1. Increase performance; 2. Enhance security; 3. Use non-database technology in transact-sql; 4. Programming mode - use external programming language calls.
    SQL 14609 2019-06-20 14:16:12
  • What are the two methods of database backup?
    What are the two methods of database backup?
    The two methods for database backup are: 1. Use mysqldump combined with the exec function for database backup; 2. Use the [php+mysql+header] function for database backup.
    SQL 32088 2020-09-12 16:34:30

Tool Recommendations

jQuery enterprise message form contact code

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 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 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

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

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

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

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

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02
Cute summer elements vector material (EPS PNG)

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)

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)

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)

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 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 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

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

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!