{"id":162710,"date":"2026-06-10T16:56:24","date_gmt":"2026-06-10T16:56:24","guid":{"rendered":"https:\/\/digitionary.com\/dictionnaire\/sql-query\/"},"modified":"2026-06-10T18:15:43","modified_gmt":"2026-06-10T18:15:43","slug":"sql-query","status":"publish","type":"dictionnaire-dico","link":"https:\/\/digitionary.com\/en\/dictionnaire\/sql-query\/","title":{"rendered":"SQL query"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">An SQL query is a command used to retrieve, insert, update, or delete data in a database. For example, imagine you have a table called &#8220;Customers&#8221; containing fields such as Last Name, First Name, and City. If you want to display all customers residing in Lyon, here is the SQL query to use: SELECT Last Name, First Name FROM Customers WHERE City = &#8220;Lyon&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To explain this query, SELECT Last Name, First Name specifies the fields to display, FROM Customers indicates the relevant table, and WHERE City = &#8220;Lyon&#8221; establishes the selection criteria.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In Access, to execute a query, open the Access database and select &#8220;Query&#8221; from the ribbon. Then, choose &#8220;Query Design&#8221; in the left pane. In the &#8220;View Tables&#8221; window, choose the table you want to work with and double-click the fields you want to display. Additional selection criteria can be added using the &#8220;Criteria&#8221; row. Finally, to view the results of the query, simply click on &#8220;Run&#8221;.<\/p>\n","protected":false},"template":"","categories-glossary":[312],"class_list":["post-162710","dictionnaire-dico","type-dictionnaire-dico","status-publish","hentry","categories-glossary-crm-customer-relationship"],"_links":{"self":[{"href":"https:\/\/digitionary.com\/en\/wp-json\/wp\/v2\/dictionnaire-dico\/162710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitionary.com\/en\/wp-json\/wp\/v2\/dictionnaire-dico"}],"about":[{"href":"https:\/\/digitionary.com\/en\/wp-json\/wp\/v2\/types\/dictionnaire-dico"}],"wp:attachment":[{"href":"https:\/\/digitionary.com\/en\/wp-json\/wp\/v2\/media?parent=162710"}],"wp:term":[{"taxonomy":"categories-glossary","embeddable":true,"href":"https:\/\/digitionary.com\/en\/wp-json\/wp\/v2\/categories-glossary?post=162710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}