[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-detail-646221-en":59,"doc-seo-646221-105":138,"doc-similar-646221":202},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":5,"data":60},{"doc_id":61,"user_id":62,"nickname":63,"user_avatar":64,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":66,"doc_content":67,"file_id":68,"file_url":69,"file_type":70,"file_size":71,"view_count":39,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":72,"language":73,"language_code":74,"site_id":75,"html_lang":74,"table_of_contents":76,"faqs":77,"seo_title":78,"seo_description":66,"update_tm":79,"read_time":80,"preview_page_count":81,"preview_urls":82},646221,3985747862266,"aboduw","https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","MySQL Lab Guide - Designed for SQL Fundamentals in MySQL Environment","MySQL Lab Guide provides a structured set of nine lab sessions that teach SQL fundamentals within the MySQL environment through examples, tasks, and exercises. Learners practice creating a relational database, inserting, updating, and deleting table data, and writing basic and advanced SELECT queries. The guide also trains users to perform joins, apply SQL aggregate functions, write subqueries, and create database views. It assumes familiarity with Microsoft Windows operations and explains starting MySQL 5.0.45 on Windows XP Professional, including connecting, using the command-line client, and retrieving help topics.","MySQL Lab Guide  \nA supplement to: Database Systems: Design, Implementation and Management  \n(International Edition) Rob, Coronel & Crockett (ISBN: 9781844807321)  \nTable of Contents  \nLab Title Page  \n1 Introduction to MySQL 4  \n2 Building a database: Table by Table 15  \n3 Data Manipulation Commands 36  \n4 Basic SELECT statements 47  \n5 Advanced SELECT statements 63  \n6 Joining Tables 75  \n7 SQL functions 90  \n8 Subqueries 111  \n9 Views 123  \nIntroduction to the MySQL Lab Guide  \nThis lab guide is designed to provide examples and exercises in the fundamentals of SQL within the MySQL environment. The objective is not to develop full blown applications but to illustrate the concepts of SQL using simple examples. The lab guide has been divided up into 9 sessions. Each one comprises of examples, tasks and exercises about a particular concept in SQL and how it is implemented in MySQL.  \nOn completion of this 9 week lab guide you will be able to:  \n• Create a simple relational database in MySQL.  \n• Insert, update and delete data the tables.  \n• Create queries using basic and advanced SELECT statements  \n• Perform join operations on relational tables  \n• Use aggregate functions in SQL  \n• Write subqueries  \n• Create views of the database  \nThis lab guide assumes that you know how to perform basic operations in the Microsoft Windows environment. Therefore, you should know what a folder is, how to maximize or minimize a folder, how to create a folder, how to select a file, how you maximize and minimize windows, what clicking and double-clicking indicate, how you drag, how to use drag and drop, how you save a file, and so on.  \nMySQL, is one of the most popular Open Source SQL database management systems. The lab guide has been designed on MySQL version 5.0.45 running on Windows XP  \nProfessional. The MySQL Web site ([http://www.mysql.com/](http://www.mysql.com/)) provides the latest information about MySQL database management system.  \nIt is important to note that MySQL is an open source database and is continually underdevelopment. Each version and sub-version may implement SQL syntax differently and changes are being made constantly. There are also problems with upward compatibility between different versions. For example some SQL operations that work in versions 3.0 and 4.0 do not work in version 5.0. Furthermore, different variants of a version are released in response to bugs that have been found by database developers who are using the latest versions in their work. If an SQL command does not work as expected or shown in this guide, please consult the MySQL web site for more information.  \nLab 1: Starting MySQL  \nThe learning objectives ofthis lab are to  \n• Learn how to start MySQL  \n• Learn how to use the MySQL command line client window  \n• Obtain help in MySQL  \n1.1 Starting MySQL  \nBefore starting this guide, you must obtain a user ID and a password created by your database administrator in order to log on to the MySQL RDBMS. How you connect to the MySQL database depends on how the MySQL software was installed on your server and on the access paths and methods defined and managed by the database administrator. You may therefore need to follow specific instructions provided by your instructor, College or University. This section will describe how to start MySQL from a Windows XP installation of MySQL 5.0.45.  \nTo start MySQL you would:  \n1. Select the Start button  \n2. Select All Programs and then MySQL  \n3. Select MySQL Server 5.0  \n4. Click on the MySQL Command line client  \nThe MySQL command line client window should then open as shown in Figure 1.  \nFigure 1: MySQL command line client window  \nEnter your password to log on to MySQL as shown in Figure 2.  \nFigure 2: Logging on to MySQL  \nOnce you have successfully logged on you will see the opening screen as shown in Figure 2. To work in MySQL requires you to type in commands. For example typing in the following will show you a list of help commands shown in Figure 3:  \n","cbCaikMpCMvdW5XL","https://ap.wps.com/l/cbCaikMpCMvdW5XL","pdf",4579276,129,"English","en",105,"# Table of Contents\n## Lab Title Page\n## 1 Introduction to MySQL\n## 2 Building a database: Table by Table\n## 3 Data Manipulation Commands\n## 4 Basic SELECT statements\n## 5 Advanced SELECT statements\n## 6 Joining Tables\n## 7 SQL functions\n## 8 Subqueries\n## 9 Views\n## Introduction to the MySQL Lab Guide\n## Lab 1: Starting MySQL\n## 1.1 Starting MySQL","[{\"question\":\"What is the purpose of the MySQL Lab Guide?\",\"answer\":\"It is designed to provide examples and exercises that illustrate SQL concepts in the MySQL environment, using simple examples rather than building full applications.\"},{\"question\":\"What skills can learners achieve after completing the nine-session lab guide?\",\"answer\":\"Learners can create a relational database, insert/update/delete table data, write basic and advanced SELECT queries, perform joins, use aggregate functions, write subqueries, and create views.\"},{\"question\":\"How does the guide instruct users to start MySQL in Lab 1?\",\"answer\":\"It describes logging on with a user ID and password, then starting MySQL from a Windows XP installation by selecting Start, All Programs, MySQL, MySQL Server 5.0, and opening the MySQL Command line client.\"}]","MySQL Lab Guide - Designed for SQL Fundamentals in MySQL Environment | PDF",1792753739,325,13,[83,87,91,96,100,104,108,112,116,120,124,129,134],{"page_no":8,"url":84,"width":85,"height":86},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0050d3d750e402f02e33b5ca94fabb9b.webp",983,1390,{"page_no":14,"url":88,"width":89,"height":90},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6331562e4bb29e5693f1a24744b1c8b5.webp",982,1270,{"page_no":92,"url":93,"width":94,"height":95},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ecc1f58770f5df9520edaf1b6e5d9016.webp",981,1269,{"page_no":19,"url":97,"width":98,"height":99},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e1a1376d4a072b2e5ab6674173c012b5.webp",980,1268,{"page_no":24,"url":101,"width":102,"height":103},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4fc00b01bfd9c65b1c330c4af4007a7d.webp",979,1267,{"page_no":29,"url":105,"width":106,"height":107},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ad6dcaa8a26490f770c243607795044c.webp",978,1265,{"page_no":34,"url":109,"width":110,"height":111},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9ccf517acdf1e5a4d5330d18d5891d1e.webp",977,1264,{"page_no":39,"url":113,"width":114,"height":115},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c3ab39bb082d56e4c5857a631fd7fda6.webp",976,1263,{"page_no":44,"url":117,"width":118,"height":119},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/39176e91334e2e44fa41b45b49625ccf.webp",975,1261,{"page_no":52,"url":121,"width":122,"height":123},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/98ce861cbebd20ee01c45ffe672c289a.webp",974,1260,{"page_no":125,"url":126,"width":127,"height":128},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/7f3721ed6c92c49d323dfa7cfc047dbd.webp",973,1259,{"page_no":130,"url":131,"width":132,"height":133},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1f169f37a52afa91fc70f12630dc490f.webp",972,1257,{"page_no":81,"url":135,"width":136,"height":137},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/130a92f17c4f29eff6203d85fbae3ab5.webp",971,1256,{"code":4,"msg":139,"data":140},"ok",{"site_id":75,"language":74,"slug":141,"title":65,"keywords":142,"description":66,"schema_data":143,"social_meta":196,"head_meta":198,"extra_data":200,"updated_unix":201},"mysql-lab-guide-designed-for-sql-fundamentals-in-mysql-environment","",{"@graph":144,"@context":195},[145,158,178],{"@type":146,"itemListElement":147},"BreadcrumbList",[148,152,154,156],{"item":149,"name":150,"@type":151,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":153,"name":9,"@type":151,"position":14},"https://docshare.wps.com/document/",{"item":155,"name":30,"@type":151,"position":92},"https://docshare.wps.com/document/technology/",{"item":157,"name":65,"@type":151,"position":19},"https://docshare.wps.com/document/mysql-lab-guide-designed-for-sql-fundamentals-in-mysql-environment/646221/",{"url":157,"name":65,"@type":159,"image":160,"author":165,"headline":65,"publisher":167,"fileFormat":170,"inLanguage":74,"description":66,"dateModified":171,"datePublished":172,"encodingFormat":170,"isAccessibleForFree":173,"interactionStatistic":174},"DigitalDocument",{"url":161,"@type":162,"width":163,"height":164},"https://docshare.wps.com/thumbnails/mysql-lab-guide-designed-for-sql-fundamentals-in-mysql-environment/646221.png","ImageObject",300,407,{"name":63,"@type":166},"Person",{"url":149,"name":168,"@type":169},"DocShare","Organization","application/pdf","2026-11-25","2026-10-23",true,{"@type":175,"interactionType":176,"userInteractionCount":39},"InteractionCounter",{"@type":177},"ViewAction",{"@type":179,"mainEntity":180},"FAQPage",[181,187,191],{"name":182,"@type":183,"acceptedAnswer":184},"What is the purpose of the MySQL Lab Guide?","Question",{"text":185,"@type":186},"It is designed to provide examples and exercises that illustrate SQL concepts in the MySQL environment, using simple examples rather than building full applications.","Answer",{"name":188,"@type":183,"acceptedAnswer":189},"What skills can learners achieve after completing the nine-session lab guide?",{"text":190,"@type":186},"Learners can create a relational database, insert/update/delete table data, write basic and advanced SELECT queries, perform joins, use aggregate functions, write subqueries, and create views.",{"name":192,"@type":183,"acceptedAnswer":193},"How does the guide instruct users to start MySQL in Lab 1?",{"text":194,"@type":186},"It describes logging on with a user ID and password, then starting MySQL from a Windows XP installation by selecting Start, All Programs, MySQL, MySQL Server 5.0, and opening the MySQL Command line client.","https://schema.org",{"og:url":157,"og:type":197,"og:title":65,"og:site_name":168,"og:description":66},"article",{"robots":199,"canonical":157},"index,follow",{"doc_id":61,"site_id":75},1793029960,{"list":203,"token":142},[204,210,216,222,228,234,240,246,252,258],{"doc_id":205,"doc_title":206,"file_type":70,"home_preview_img_url":207,"slug":208,"view_count":52,"category_name":30,"create_tm":209},646218,"Murach's MySQL 4th Edition - Master the SQL Statements","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229971804181/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=GLKP9t6ztOFheRFJDNeOUA50F50%3D","murachs-mysql-4th-edition-master-the-sql-statements",1792753731,{"doc_id":211,"doc_title":212,"file_type":70,"home_preview_img_url":213,"slug":214,"view_count":39,"category_name":30,"create_tm":215},656141,"A Visual Introductionto SQL - by J. Harvey Trimble Jr. and David Chappell","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974785931/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=jejT2XPKoYGQ3JDaHE4zVnCA%2Fv8%3D","a-visual-introductionto-sql-by-j-harvey-trimble-jr-and-david-chappell",1792966697,{"doc_id":217,"doc_title":218,"file_type":70,"home_preview_img_url":219,"slug":220,"view_count":24,"category_name":30,"create_tm":221},692253,"Learning SQL - Second Edition - Learn SQL","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003050088/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=h2NrvlrS2orY0p2LXLrYP2jq%2BZs%3D","learning-sql-second-edition-learn-sql",1794187815,{"doc_id":223,"doc_title":224,"file_type":70,"home_preview_img_url":225,"slug":226,"view_count":14,"category_name":30,"create_tm":227},718154,"SQL INTERVIEW LAB - 42 Tested Query Challenges - Worked Answers & Real Practice Database","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230019199650/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=N0l%2FV505pt3RmpPPAtWrPzFazlc%3D","sql-interview-lab-42-tested-query-challenges-worked-answers-real-practice-database",1794854359,{"doc_id":229,"doc_title":230,"file_type":70,"home_preview_img_url":231,"slug":232,"view_count":24,"category_name":30,"create_tm":233},701367,"DATABASE MANAGEMENT SYSTEMS - Syllabus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012296305/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=mHfUIrkfEidY5Hsg97nVVsNlK3w%3D","database-management-systems-syllabus",1794528023,{"doc_id":235,"doc_title":236,"file_type":70,"home_preview_img_url":237,"slug":238,"view_count":34,"category_name":30,"create_tm":239},673515,"SQL - Third Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990906917/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=ZyBcfuk2YBNmLsEoQt%2BMlgRSR0s%3D","sql-third-edition",1793647479,{"doc_id":241,"doc_title":242,"file_type":70,"home_preview_img_url":243,"slug":244,"view_count":44,"category_name":30,"create_tm":245},656114,"Chapter 1 - SQL and Data - Chapter Objectives and Lab 1.1 Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975300708/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=6soLjSd4sRl6VeztKYYlM2FEMGM%3D","chapter-1-sql-and-data-chapter-objectives-and-lab-11-overview",1792966468,{"doc_id":247,"doc_title":248,"file_type":70,"home_preview_img_url":249,"slug":250,"view_count":19,"category_name":30,"create_tm":251},692258,"SQL - Quick Guide - SQL Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003050421/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=gdfx7Ph0ArGb4JgdO7Bv6vrtD0U%3D","sql-quick-guide-sql-basics",1794187831,{"doc_id":253,"doc_title":254,"file_type":70,"home_preview_img_url":255,"slug":256,"view_count":29,"category_name":30,"create_tm":257},701370,"Vantage-DB-Management-Guide - Database Management","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012296330/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=ktiro2QqkSVM%2FhhRVDx776B8cMc%3D","vantage-db-management-guide-database-management",1794528025,{"doc_id":259,"doc_title":260,"file_type":70,"home_preview_img_url":261,"slug":262,"view_count":19,"category_name":30,"create_tm":263},692256,"Cancer Analysis System (CAS) Guidance - Getting started with SQL and extracting data","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003050380/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=jy01sV2izyMzGAxZj2gpctVy%2FzA%3D","cancer-analysis-system-cas-guidance-getting-started-with-sql-and-extracting-data",1794187826]