Changes for page SQL Query
Last modified by Danniar Firdausy on 2024/09/18 20:00
From version 8.1
edited by Erik Bakker
on 2023/01/23 10:06
on 2023/01/23 10:06
Change comment:
There is no comment for this version
To version 9.7
edited by Danniar Firdausy
on 2024/09/18 20:00
on 2024/09/18 20:00
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ebakker1 +XWiki.dfirdausy - Content
-
... ... @@ -1,5 +1,5 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 -In this microlearning, we will learnthebasicsof SQL queries.Withthehelpof this information, youcanstartwriting the correctqueries to retrieve andwritedatafrom andtoa database.2 +In this microlearning, we will explore the fundamentals of SQL queries. By understanding these concepts, you will be equipped to write basic queries to retrieve and modify data in a database. 3 3 4 4 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 ... ... @@ -9,15 +9,8 @@ 9 9 10 10 == 2. Key concepts == 11 11 12 -Each type of external database will need specific queries to perform actions on the database level. Mostly we see that SQL queries are needed; therefore, we focus on them in this microlearning. In terms of CRUD operations on the database, the SQL language defines the following:12 +Each type of external database will need specific queries to perform actions on the database level. Mostly we see that SQL queries are needed; therefore, we focus on them in this microlearning. 13 13 14 -* INSERT = Create 15 -* SELECT = Read 16 -* UPDATE = Update 17 -* DELETE = Delete 18 - 19 -These basic operations on the database level should allow you to perform the action you want. 20 - 21 21 == 3. SQL Query == 22 22 23 23 In this microlearning, we will learn the basics of SQL queries. With the help of this information, you can start writing the correct queries to retrieve and write data from and to a database. Just as with REST web services, the CRUD operations are represented within the SQL language. They are described as follows: ... ... @@ -74,23 +74,24 @@ 74 74 75 75 {{warning}}You should be careful when deleting records in a table! Notice the WHERE clause in the DELETE statement. The WHERE clause specifies which record(s) should be deleted. If you omit the WHERE clause, all records in the table will be deleted!{{/warning}} 76 76 77 -== 4. Assignment ==70 +== 4. Key takeaways == 78 78 79 -See if you can find any database implementation within the projects you can access. This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment. 72 +* These examples cover the basic SQL operations: INSERT (Create), SELECT (Read), UPDATE (Update), and DELETE (Delete). 73 +* SQL queries allow you to perform essential CRUD operations to manage data in a database. 74 +* You can use dynamic values in SQL queries through SpEL expressions, making your queries more adaptable and flexible. 75 +* While SQL is commonly used, other databases may require different query languages or syntax for similar operations. 76 +* Always ensure conditions (like WHERE clauses) are applied to avoid unintentional modifications or deletions of data. 80 80 81 -== 5. Keytakeaways ==78 +== 5. Suggested additional readings == 82 82 83 -* These examples cover the basics of the SQL language 84 -* The SQL language has its form of CRUD operations 85 -* You can dynamically fill the values of the SQL properties with the help of SpEL expressions 86 -* Other types of databases might require other queries 80 +If you are interested in this topic and want more information on it, please read the help text provided by eMagiz and see the following links: 87 87 88 - Ifyou arenterestedinthis topic and want moreinformation, pleaseread thehelp text provided by eMagiz and read moreinformation on thefollowing link:89 - 90 -* [[ SQLExplained>>https://www.w3schools.com/sql/default.Asp||target="blank"]]91 - 92 - ==7.Silent demonstrationvideo=93 - 94 - Asthisis moreoftheoreticalmicrolearning,thereisno videoaccompanyingthemicrolearning.95 - 82 +* [[eMagiz Store (Menu)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]] 83 +** [[Accelerators (Navigation)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]] 84 +*** [[Database Connectivity (Explanation)>>doc:Main.eMagiz Store.Accelerators.Database Connectivity.WebHome||target="blank"]] 85 +* [[Expert Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.WebHome||target="blank"]] 86 +** [[Solution Architecture (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.WebHome||target="blank"]] 87 +*** [[H2 Database for other applications (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.expert-solution-architecture-h2-database-for-other-applications||target="blank"]] 88 +* [[SQL Query (Search Results)>>url:https://docs.emagiz.com/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_space_facet=0%2FMain.&l_space_facet=10&f_type=DOCUMENT&f_locale=en&f_locale=&f_locale=en&text=%22sql+query%22||target="blank"]] 89 +* [[SQL Explained (External)>>https://www.w3schools.com/sql/default.Asp||target="blank"]] 96 96 )))((({{toc/}}))){{/container}}{{/container}}