COSC 304 Lab 5 Week of October 22, 2018

Size: px
Start display at page:

Download "COSC 304 Lab 5 Week of October 22, 2018"

Transcription

1 COSC 304 Lab 5 Week of October 22, 2018 Objectives: Working with Functions Due 30 minutes before your lab period in two weeks (Week of November 5) Use string manipulation functions LENGTH(), UPPER(), LOWER(), SUBSTR(), INSTR(), CONCAT() Test for NULL using NVL() Use date related functions TO_DATE(), TO_CHAR() Solve problems with DECODE() String Manipulation This section will introduce you to several Oracle functions that will allow you to manipulate strings. Length Function LENGTH() The LENGTH() function in Oracle returns the length (in number of characters) of a string. Here is its syntax: LENGTH(sourceString) sourcestring the string from which the length will be obtained Return value: an integer which is the number of characters in sourcestring. Uppercase and Lowercase Functions UPPER() and LOWER() The UPPER() and LOWER() functions in Oracle return a new string that matches the parameter string where the alphabetic characters of the parameter string are replaced with uppercase and lowercase characters respectively. Here are their syntaxes: UPPER(sourceString) LOWER(sourceString) sourcestring the string from which the return string will be built Return value: a new string that matches sourcestring with its alphabetic characters replaced with uppercase (UPPER()) or lowercase (LOWER()) letters. COSC 304 Lab Assignment 5 Page 1

2 Substring Function SUBSTR() The SUBSTR() function in Oracle works much like the substring functions you have used in programming languages like Java. Here is its syntax: SUBSTR(sourceString, startposition, [len]) sourcestring the string from which the substring will be obtained startposition the point at which to start the substring len an optional parameter that indicates the number of characters in the substring Return value: the substring of length, len, starting at character startposition location within sourcestring. If no len parameter is specified, the end of the substring will be the end of the source string. Note that characters start counting from 1 (not zero) Examples: SUBSTR('Hello World!', 1, 5) returns Hello SUBSTR('Hello World!', 3, 5) returns llo W SUBSTR('Hello World!', 7, 3) returns Wor SUBSTR('Hello World!', 7) returns World! SUBSTR('Hello World!', 15) returns null Try running each of the above examples using the system table DUAL: SELECT SUBSTR('Hello World!', 1, 5) FROM DUAL; SELECT SUBSTR('Hello World!', 3, 5) FROM DUAL; SELECT SUBSTR('Hello World!', 7, 3) FROM DUAL; SELECT SUBSTR('Hello World!', 7) FROM DUAL; SELECT SUBSTR('Hello World!', 15) FROM DUAL; Exercise: Create an SQL command to list the data in the GRADES table with only the last 5 digits of student_id displayed. Instring Function INSTR() The INSTR() function in Oracle is used to identify the location of a string within another string. Here is its syntax: INSTR(sourceString, searchstring [, start [, nth occurrence]]) sourcestring the string to search searchstring the string value to search for in sourcestring start an optional point at which to start searching if other than character 1 nth occurrence optionally search for the nth occurrence of searchstring Return value: the location of searchstring within sourcestring (first character at which searchstring is found). 0 is returned if the string is not found. COSC 304 Lab Assignment 5 Page 2

3 Examples: INSTR('Hello World!', 'Wor') returns 7 INSTR('Hello World!', ' ') returns 6 INSTR('Hello World!', 'o') returns 5 INSTR('Hello World!', 'o', 6) returns 8 INSTR('Hello World!', 'l', 1, 2) returns 4 Try running each of the above examples using the system table DUAL: SELECT INSTR('Hello World!', 'Wor', 5) FROM DUAL; SELECT INSTR('Hello World!', ' ') FROM DUAL; SELECT INSTR('Hello World!', 'o') FROM DUAL; SELECT INSTR('Hello World!', 'o', 6) FROM DUAL; SELECT INSTR('Hello World!', 'l', 1, 2) FROM DUAL; SELECT INSTR('Hello World!', 'X') FROM DUAL; Concatenation Function CONCAT() The CONCAT() function in Oracle is used to create a new string that is the concatenation of two other strings. Here is its syntax: CONCAT(string1, string2) string1 the first (left) string to be concatenated string2 the second (right) string to be concatenated The datatype for each string can be any string datatype char, varchar2, nchar, clob, nvarchar Return value: a new string that is the concatenation of string1 with string2. Example: CONCAT('Hello', 'World!') returns HelloWorld Try running the above example using the system table DUAL: SELECT CONCAT('Hello', 'World!') FROM DUAL; Concatenation using As concatenation is a frequently used operation, an alternate, more concise technique is available using two pipe characters. You can concatenate two strings in a SELECT statement by putting two pipe characters (side by side, not separated by spaces) between the strings to be concatenated. Example: 'Hello' 'World!' returns HelloWorld Try running the above example using the system table DUAL: SELECT 'Hello' 'World!' FROM DUAL; COSC 304 Lab Assignment 5 Page 3

4 Special characters: You can include a single quote character inside a string by specifying two adjacent single quote characters for the single quote. This has the effect of escaping the quote character. You can include a newline character in a string by concatenating chr(10) to substrings of the string you want. Example: 'Hello' ' ''World!''' chr(10) 'See ya later.' returns Hello World See ya.later Try running the above example using the system table DUAL: SELECT 'Hello' ' ''World!''' chr(10) 'See ya later.' FROM DUAL; Testing For NULL Oracle provides the NVL() function that lets you replace a NULL value (returned as blank) with a string value. Here is the syntax for NVL(): NVL(expr1, expr2) expr1 any datatype expr2 any datatype If expr1 is character data, expr2 will be implicitly converted to the datatype of expr1 before comparison. If expr1 is numeric data, then Oracle will perform conversion on the argument with lower numeric precedence to the higher numeric precedence. Return value: expr2 is returned, if expr1 is NULL. Otherwise expr1 is returned. Example: To experiment with this function let s create a table with some NULL values: CREATE TABLE L5_students AS SELECT * FROM labdata.students WHERE ROWNUM <=5; INSERT INTO L5_students (student_id, stu_name ) values (' ', 'Sue Ng'); INSERT INTO L5_students (student_id, stu_name) values (' ', 'Jo Oaks'); Take a look at the data in the l5_students table: SELECT * FROM l5_students; You will notice that two of the seven rows have blanks (NULL values) for the program column. (Perhaps the students have yet to declare their program major). Let s run a more helpful SELECT statement using the NVL() function. COSC 304 Lab Assignment 5 Page 4

5 SELECT student_id, stu_name, NVL(program, 'Undeclared') Program FROM l5_students; Notice that those students who have declared their major have the correct value displayed for the program column, and those that have NULL values in the program column have the string Undeclared displayed for the column. Working With Dates In this section we will learn how to work with date data. It is important to remember that DATE is a data type in Oracle and all DATE values are always represented in Oracle using Oracle s own internal format which is of no interest to us. Furthermore, Oracle s internal DATE storage format has nothing to do with the way that a DATE value is displayed when you select a DATE column. Although you may want your DATE data formatted a certain way for display, you cannot store formatting with DATE values in a table. Formatting is something that you apply when displaying a DATE value, or when you want to express a DATE value using a certain format. Keep this in mind as you complete this section. A handy function that we can use to quickly get a DATE value for the current moment is sysdate. This function (expressed without parentheses) returns the DATE value of the current moment. We will use this function in our examples. There are two date-related datatypes in Oracle: DATE - stores the year, month, day, hour, minute, and seconds (after midnight). TIMESTAMP same as DATE with greater granularity. Microseconds are stored. We will not use or discuss this datatype further. To work with dates we need to use two functions: TO_CHAR() used to convert a DATE value into a formatted string (often for display purposes). TO_DATE() used to create a DATE value by specifying the date in a custom formatted string. TO_CHAR() Syntax: TO_CHAR( value, [ formatstring ], [ nls_language ] ) value a number or date value formatstring the string that specifies the format in which value is specified nls_language specifies the language in which month and day names and abbreviations are returned. It is not of interest for our purposes, so will be ignored. Return value: value converted to a string following the formatting specified in formatstring Examples: TO_CHAR( , '9999.9') would return '1210.7' TO_CHAR( , '9,999.99') would return '1,210.73' TO_CHAR( , '$9,999.00') would return '$1,210.73' TO_CHAR(21, '000099') would return '000021' TO_CHAR(sysdate, 'yyyy/mm/dd'); would return '2018/10/09' COSC 304 Lab Assignment 5 Page 5

6 TO_CHAR(sysdate, 'Month DD, YYYY'); would return 'October 09, 2018' TO_CHAR(sysdate, 'FMMonth DD, YYYY'); would return 'October 9, 2018' TO_CHAR(sysdate, 'MON DDth, YYYY'); would return 'Oct 09TH, 2018' TO_CHAR(sysdate, 'FMMON DDth, YYYY'); would return 'Oct 9TH, 2018' TO_CHAR(sysdate, 'FMMon ddth, YYYY'); would return 'Oct 9th, 2018' Note FM means to suppress the leading 0. TO_DATE() Syntax: TO_DATE(sourceString, [ formatstring ], [ nls_language ] ) sourcestring the string to be converted to a date. formatstring the string that specifies the format that the sourcestring is in. nls_language specifies the language in which month and day names and abbreviations are returned. It is not of interest for our purposes, so will be ignored. Return value: a DATE value that matches the date provided in sourcestring Example: TO_DATE('2018/07/09', 'yyyy/mm/dd') would return a date value of July 9, TO_DATE('070918', 'MMDDYY') would return a date value of July 9, TO_DATE(' ', 'yyyymmdd') would return a date value of Mar 15, All of the above returned dates would be for 0 seconds after midnight. The table below provides the different format specifiers that you can provide in a formatstring. YEAR YYYY Parameter YYY, YY, Y IYY, IY, I IYYY RRRR Year, spelled out 4-digit year Last 3, 2, or 1 digit(s) of year. Last 3, 2, or 1 digit(s) of ISO year. Explanation 4-digit year based on the ISO standard Accepts a 2-digit year and returns a 4-digit year. A value between 0-49 will return a 20xx year. A value between will return a 19xx year. Q Quarter of year (1, 2, 3, 4; JAN-MAR = 1). MM Month (01-12; JAN = 01). MON MONTH RM WW Abbreviated name of month. Name of month, padded with blanks to length of 9 characters. Roman numeral month (I-XII; JAN = I). Week of year (1-53) where week 1 starts on the first day of the year and continues to the seventh day of the year. COSC 304 Lab Assignment 5 Page 6

7 W IW D Day of week (1-7). DAY Week of month (1-5) where week 1 starts on the first day of the month and ends on the seventh. Week of year (1-52 or 1-53) based on the ISO standard. Name of day. DD Day of month (1-31). DDD Day of year (1-366). DY J Abbreviated name of day. HH Hour of day (1-12). HH12 Hour of day (1-12). HH24 Hour of day (0-23). MI Minute (0-59). SS Second (0-59). Julian day; the number of days since January 1, 4712 BC. SSSSS Seconds past midnight ( ). FF AM, A.M., PM, or P.M. Meridian indicator AD or A.D BC or B.C. Fractional seconds. Use a value from 1 to 9 after FF to indicate the number of digits in the fractional seconds. For example, 'FF4'. AD indicator BC indicator Try experimenting with the TO_CHAR() and TO_DATE() functions. You can create a test table and/or use the DUAL table. More Date Manipulation Oracle permits some arithmetic with dates. Specifically: You can add integers to dates. A single whole number, N has the value of one day. N/2 would have the value of half a day. N/24 would have the value of 1 hour. Examples: SYSDATE + 1 is a DATE corresponding to this time tomorrow. SYSDATE + 7 is a DATE corresponding to this day and time next week. SYSDATE + 6/24 is a DATE corresponding to 6 hours from now. SYSDATE + 1/4 is a DATE corresponding to 6 hours from now. SYSDATE + 5/24 is a DATE corresponding to 5 hours from now. SYSDATE + 10/(24*60*60) is a DATE corresponding to 10 seconds from now. You can take the difference between two DATEs also. The difference will let you know the difference between two DATEs. In other words, it will give the length of time in units of days between the two moments represented by the DATE values. COSC 304 Lab Assignment 5 Page 7

8 Example: To compare two dates you could do this (the most recent date would be returned): DECODE((dateA-dateB) abs(datea-dateb), 0, datea, dateb). An IF-Like Value Comparison Function DECODE() There is no If-Then function in Oracle, but you can accomplish the effect of an If-Then using the DECODE() function. Here is its syntax: DECODE(expression, searchvalue1, replacevalue1, searchvalue2, replacevalue2, searchvalue3, replacevalue3,..., default) expression the value to decode searchvaluen the Nth value to compare with expression replacevaluen the value to replace expression if searchvaluen matches expression Example: Consider the suppliers table in the LABDATA schema. In the example below, we want to list each supplier s name with the supplier s phone number. However, if you notice in the table, phone numbers for Kelowna suppliers do not include the 250 exchange value. So, let s use decode() to concatenate 250- to the beginning of phone numbers for Kelowna suppliers. SELECT Name, DECODE(city, 'Kelowna', '250-' phone, phone) Supplier_Phone FROM LABDATA.SUPPLIERS; Graded Exercises: 1. (3 marks) I would like to create Oracle user accounts for all students listed in the Students table (from labs two and three) that are similar to the username naming conventions that we do in COSC 304. Specifically, all usernames start with AS_ followed by the first initial of the student s first name, followed by the first three letters of the student s last name. However, we want a slightly more secure password than the ones we use. For a student s password, we will use their username concatenated with the last two digits of their student ID. Your job is to create a view called LAB5_1 that lists student names from the Students table followed by each student s username and password. Sort the results by student name. The first five lines of output should look like this: STUDENT_NAME USERNAME PASSWORD Ann Gibson AS_AGIB AS_AGIB02 Barry Clark AS_BCLA AS_BCLA02 Ben Crenshaw AS_BCRE AS_BCRE00 Darryl Sutter AS_DSUT AS_DSUT44 Dave Semenko AS_DSEM AS_DSEM55 Be sure to provide alias names for the columns of your view that exactly match the column names above. COSC 304 Lab Assignment 5 Page 8

9 The remaining exercises are related to the Dental database of Lab 4 These exercises will give you the opportunity to build advanced queries (using the Dental database that we used in Lab 4). When working on your queries, you may find it helpful to build them in steps. You must use joins in your queries as much as possible (rather than nested queries). 2. (4 marks) During each Wednesday in September and October, DK Dental Clinic is undergoing renovations to rooms L202, L203 and L204. Consequently, the appointments scheduled in those rooms during that month will need to be moved to different rooms. Your job is to list information (patient name, dentist first name, date, time and a note) for each Wednesday appointment in September and October (of 2018). Your query should list the information in the format shown below. Your query should list the appointment information along with a note that states Needs to move if the appointment is scheduled in one of the rooms being renovated. Order your results by date (and time) and save your query as a view with the name LAB5_2. The first 6 lines of your output should look like this: PATIENT DENTIST APPT_DATE APPT_TIME NOTES C. Gate Michael SEP 05, :30 PM S. Cane Newton SEP 12, :15 AM S. Cane Tulip SEP 12, :30 PM A. Fresh Phil SEP 19, :00 AM Needs to move A. Fresh Maureen SEP 19, :45 PM Needs to move A. Hammer Maurice OCT 03, :45 PM Be sure to provide alias names for the columns of your view that exactly match the column names above. 3. (6 marks) For each dentist in the L4_Dentists table, list the number of appointments that have been scheduled in rooms L202, L203 and L204 as shown in the output below. Order the results by dentist name. (Hint: consider summing values returned from the DECODE function, where you decode RoomNo). Save your query as view LAB5_3. Below shows the first eight lines of output for a correct solution. (Note: DO NOT put an aggregate function inside a DECODE function.) DENTIST_NAME L202 L203 L204 Total Isla de Groot Janice Sorghum Lara Nuerve Maureen Payne Maurice Larr Michael Avitee Newton Capp Orin Scrivello Be sure to provide alias names for the columns of your view that exactly match the column names above. COSC 304 Lab Assignment 5 Page 9

10 4. (6 marks) The Police are investigating crooked dentists who use their practice as a means of writing prescriptions for drugs after unnecessary procedures. Their investigators are auditing the number of surgeries and extractions performed be each dentist as these are the procedures where heavy painkillers are prescribed the most. They would like to list a count of the number of surgeries and extraction procedures performed by each dentist as well as the number of appointments. Write a query saved as a view named LAB5_4 that outputs a count for each dentist as shown below. You don t need to include dentists who didn t perform any of these procedures. DENTIST_NAME SURGERIES EXTRACTIONS TOTAL APPOINTMENTS Isla de Groot Janice Sorghum Maureen Payne Maurice Larr Michael Avitee Newton Capp Note: An Extraction procedure is one where the word Extraction appears in its description. Similarly, a Surgery procedure is one where the word Surgery appears in its description. Be sure to provide alias names for the columns of your view that exactly match the column names above. 5. (1 bonus mark). How much revenue has each dentist generated for the DK Dental Clinic? Write a query saved as a view named LAB5_5 that outputs each dentist s name followed by the revenue (total value of all procedures performed by the dentist (including future procedures)). The output should also include the total number of appointments and the average revenue per appointment. Here are the first few lines of output: DENTIST_NAME Revenue AVG_PER_APPT APPOINTMENTS Isla de Groot $9, $ Janice Sorghum $10, $1, Lara Nuerve $0.00 $ Maureen Payne $5, $ Maurice Larr $20, $ COSC 304 Lab Assignment 5 Page 10

Database Programming with SQL 5-1 Conversion Functions. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Database Programming with SQL 5-1 Conversion Functions. Copyright 2015, Oracle and/or its affiliates. All rights reserved. Database Programming with SQL 5-1 Objectives This lesson covers the following objectives: Provide an example of an explicit data-type conversion and an implicit data-type conversion Explain why it is important,

More information

TO_CHAR Function with Dates

TO_CHAR Function with Dates TO_CHAR Function with Dates TO_CHAR(date, 'fmt ) The format model: Must be enclosed in single quotation marks and is case sensitive Can include any valid date format element Has an fm element to remove

More information

SQL. - single row functions - Database Design ( 데이터베이스설계 ) JUNG, Ki-Hyun ( 정기현 )

SQL. - single row functions - Database Design ( 데이터베이스설계 ) JUNG, Ki-Hyun ( 정기현 ) SQL Database Design ( 데이터베이스설계 ) - single row functions - JUNG, Ki-Hyun ( 정기현 ) 1 SQL Functions Input Function Output Function performs action that defined already before execution 2 Two Types of SQL Functions

More information

MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9)

MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9) Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 3 Professional Program: Data Administration and Management MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9) AGENDA

More information

GIFT Department of Computing Science. [Spring 2016] CS-217: Database Systems. Lab-3 Manual. Single Row Functions in SQL

GIFT Department of Computing Science. [Spring 2016] CS-217: Database Systems. Lab-3 Manual. Single Row Functions in SQL GIFT Department of Computing Science [Spring 2016] CS-217: Database Systems Lab-3 Manual Single Row Functions in SQL V3.0 4/26/2016 Introduction to Lab-3 Functions make the basic query block more powerful,

More information

Conversion Functions

Conversion Functions Conversion Functions Data type conversion Implicit data type conversion Explicit data type conversion 3-1 Implicit Data Type Conversion For assignments, the Oracle server can automatically convert the

More information

Topic 8 Structured Query Language (SQL) : DML Part 2

Topic 8 Structured Query Language (SQL) : DML Part 2 FIT1004 Database Topic 8 Structured Query Language (SQL) : DML Part 2 Learning Objectives: Use SQL functions Manipulate sets of data Write subqueries Manipulate data in the database References: Rob, P.

More information

Course Outline and Objectives: Database Programming with SQL

Course Outline and Objectives: Database Programming with SQL Introduction to Computer Science and Business Course Outline and Objectives: Database Programming with SQL This is the second portion of the Database Design and Programming with SQL course. In this portion,

More information

ITEC212 Database Management Systems Laboratory 2

ITEC212 Database Management Systems Laboratory 2 ITEC212 Database Management Systems Laboratory 2 Aim: To learn how to use Single Row Functions and other important functions. In this handout we will learn about the single row functions that are used

More information

COSC344 Database Theory and Applications. Lecture 5 SQL - Data Definition Language. COSC344 Lecture 5 1

COSC344 Database Theory and Applications. Lecture 5 SQL - Data Definition Language. COSC344 Lecture 5 1 COSC344 Database Theory and Applications Lecture 5 SQL - Data Definition Language COSC344 Lecture 5 1 Overview Last Lecture Relational algebra This Lecture Relational algebra (continued) SQL - DDL CREATE

More information

Introduction to Computer Science and Business

Introduction to Computer Science and Business Introduction to Computer Science and Business This is the second portion of the Database Design and Programming with SQL course. In this portion, students implement their database design by creating a

More information

Convert Date to Lilian Format (CEEDAYS) API

Convert Date to Lilian Format (CEEDAYS) API Convert Date to Lilian Format (CEEDAYS) API Required Parameter Group: 1 input_char_date Input VSTRING 2 picture_string Input VSTRING 3 output_lilian_date Output INT4 Omissible Parameter: 4 fc Output FEEDBACK

More information

Exam Questions 1Z0-051

Exam Questions 1Z0-051 Exam Questions 1Z0-051 Oracle Database: SQL Fundamentals I https://www.2passeasy.com/dumps/1z0-051/ 1. - (Topic 1) Which statements are correct regarding indexes? (Choose all that apply.) A. For each data

More information

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement GIFT Department of Computing Science [Spring 2013] CS-217: Database Systems Lab-2 Manual Data Selection and Filtering using the SELECT Statement V1.0 4/12/2016 Introduction to Lab-2 This lab reinforces

More information

Lab # 2. Data Definition Language (DDL) Eng. Alaa O Shama

Lab # 2. Data Definition Language (DDL) Eng. Alaa O Shama The Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Database Lab Lab # 2 Data Definition Language (DDL) Eng. Alaa O Shama October, 2015 Objective To be familiar

More information

Common Expression Editor Functions in Informatica Analyst

Common Expression Editor Functions in Informatica Analyst Common Expression Editor Functions in Informatica Analyst 2011 Informatica Abstract You can use functions in the Expression Editor in Informatica Analyst (the Analyst tool) to add expression functions

More information

SQL Functions (Single-Row, Aggregate)

SQL Functions (Single-Row, Aggregate) Islamic University Of Gaza Faculty of Engineering Computer Engineering Department Database Lab (ECOM 4113) Lab 4 SQL Functions (Single-Row, Aggregate) Eng. Ibraheem Lubbad Part one: Single-Row Functions:

More information

Table of Contents. PDF created with FinePrint pdffactory Pro trial version

Table of Contents. PDF created with FinePrint pdffactory Pro trial version Table of Contents Course Description The SQL Course covers relational database principles and Oracle concepts, writing basic SQL statements, restricting and sorting data, and using single-row functions.

More information

Chapter-14 SQL COMMANDS

Chapter-14 SQL COMMANDS Chapter-14 SQL COMMANDS What is SQL? Structured Query Language and it helps to make practice on SQL commands which provides immediate results. SQL is Structured Query Language, which is a computer language

More information

Database Systems CSE 303. Lecture 02

Database Systems CSE 303. Lecture 02 Database Systems CSE 303 Lecture 02 2016 Structure Query Language (SQL) 1 Today s Outline (mainly from chapter 2) SQL introduction & Brief History Relational Model Data in SQL Basic Schema definition Keys

More information

Database Systems CSE 303. Lecture 02

Database Systems CSE 303. Lecture 02 Database Systems CSE 303 Lecture 02 2016 Structure Query Language (SQL) Today s Outline (mainly from chapter 2) SQL introduction & Brief History Relational Model Data in SQL Basic Schema definition Keys

More information

Lab # 4. Data Definition Language (DDL)

Lab # 4. Data Definition Language (DDL) Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Lab # 4 Data Definition Language (DDL) Eng. Haneen El-Masry November, 2014 2 Objective To be familiar with

More information

Full file at

Full file at ch2 True/False Indicate whether the statement is true or false. 1. The SQL command to create a database table is an example of DML. 2. A user schema contains all database objects created by a user. 3.

More information

Oracle Database 12c SQL Fundamentals

Oracle Database 12c SQL Fundamentals Course Overview This course takes a unique approach to SQL training in that it incorporates data modeling theory, relational database theory, graphical depictions of theoretical concepts and numerous examples

More information

Introduction to Functions and Variables

Introduction to Functions and Variables Introduction to Functions and Variables Functions are a way to add additional elements into your OBI Report. They enable you to manipulate data, perform computations and comparisons, and get system information.

More information

Cognos report studio cast string to date. Cognos report studio cast string to date.zip

Cognos report studio cast string to date. Cognos report studio cast string to date.zip Cognos report studio cast string to date Cognos report studio cast string to date.zip Using the Cognos RRDI Report Studio, Report Studio Reports with Parent / Child Work Items; Determine the difference

More information

Extending Ninox with NX

Extending Ninox with NX Introduction Extending Ninox with NX NX, the Ninox query language, is a powerful programming language which allows you to quickly extend Ninox databases with calculations and trigger actions. While Ninox

More information

Topics Fundamentals of PL/SQL, Integration with PROIV SuperLayer and use within Glovia

Topics Fundamentals of PL/SQL, Integration with PROIV SuperLayer and use within Glovia Topics Fundamentals of PL/SQL, Integration with PROIV SuperLayer and use within Glovia 1. Creating a Database Alias 2. Introduction to SQL Relational Database Concept Definition of Relational Database

More information

RMS Report Designing

RMS Report Designing RMS Report Designing RMS Report Writing Examples for designing custom report in RMS by RMS Support Center RMS uses the Report Builder report writing tool to allow users to design customized Reports using

More information

Oracle Database Lite. SQL Reference Release 10.3 E

Oracle Database Lite. SQL Reference Release 10.3 E Oracle Database Lite SQL Reference Release 10.3 E12092-02 February 2010 Oracle Database Lite SQL Reference Release 10.3 E12092-02 Copyright 1997, 2010, Oracle and/or its affiliates. All rights reserved.

More information

Unit 4. Scalar Functions and Arithmetic

Unit 4. Scalar Functions and Arithmetic Unit 4. Scalar Functions and Arithmetic What This Unit Is About Scalar functions can be used to manipulate column or expression values. This unit will discuss the format and syntax of basic scalar functions.

More information

Oracle Database 11g: SQL and PL/SQL Fundamentals

Oracle Database 11g: SQL and PL/SQL Fundamentals Oracle University Contact Us: +33 (0) 1 57 60 20 81 Oracle Database 11g: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn In this course, students learn the fundamentals of SQL and PL/SQL

More information

SQL FUNCTIONS. Prepared By:Dr. Vipul Vekariya.

SQL FUNCTIONS. Prepared By:Dr. Vipul Vekariya. SQL FUNCTIONS Prepared By:Dr. Vipul Vekariya. SQL FUNCTIONS Definition of Function Types of SQL Function Numeric Function String Function Conversion Function Date Function SQL Function Sub program of SQL

More information

CS Week 10 - Page 1

CS Week 10 - Page 1 CS 425 Week 10 Reading: 1. Silberschatz, Krth & Sudarshan, Chapter 3.2 3.5 Objectives: 1. T learn mre abut SQL Functins used in queries. Cncepts: 1. SQL Functins Outline: SQL Functins Single rw functins

More information

RDBMS Using Oracle. BIT-4 Lecture Week 3. Lecture Overview

RDBMS Using Oracle. BIT-4 Lecture Week 3. Lecture Overview RDBMS Using Oracle BIT-4 Lecture Week 3 Lecture Overview Creating Tables, Valid and Invalid table names Copying data between tables Character and Varchar2 DataType Size Define Variables in SQL NVL and

More information

Students Guide. Requirements of your homework

Students Guide. Requirements of your homework Students Guide Requirements of your homework During the SQL labs you should create SQL scripts, which correspond to the SQL script skeleton provided. In the case of the SQL1 lab, you should also hand in

More information

INTRODUCTION TO MYSQL MySQL : It is an Open Source RDBMS Software that uses Structured Query Language. It is available free of cost. Key Features of MySQL : MySQL Data Types: 1. High Speed. 2. Ease of

More information

CS 252: Fundamentals of Relational Databases: SQL3

CS 252: Fundamentals of Relational Databases: SQL3 CS 252: Fundamentals of Relational Databases: SQL3 Dr. Alexandra I. Cristea http://www.dcs.warwick.ac.uk/~acristea/ Careful study of these notes is best left until most of the lectures on CS252 have been

More information

DB2 SQL Class Outline

DB2 SQL Class Outline DB2 SQL Class Outline The Basics of SQL Introduction Finding Your Current Schema Setting Your Default SCHEMA SELECT * (All Columns) in a Table SELECT Specific Columns in a Table Commas in the Front or

More information

1) Introduction to SQL

1) Introduction to SQL 1) Introduction to SQL a) Database language enables users to: i) Create the database and relation structure; ii) Perform insertion, modification and deletion of data from the relationship; and iii) Perform

More information

Using SQL with SQL Developer Part I

Using SQL with SQL Developer Part I One Introduction to SQL 2 Definition 3 Usage of SQL 4 What is SQL used for? 5 Who uses SQL? 6 Definition of a Database 7 What is SQL Developer? 8 Two The SQL Developer Interface 9 Introduction 10 Connections

More information

Oracle Syllabus Course code-r10605 SQL

Oracle Syllabus Course code-r10605 SQL Oracle Syllabus Course code-r10605 SQL Writing Basic SQL SELECT Statements Basic SELECT Statement Selecting All Columns Selecting Specific Columns Writing SQL Statements Column Heading Defaults Arithmetic

More information

Using SQL with SQL Developer 18.2 Part I

Using SQL with SQL Developer 18.2 Part I One Introduction to SQL 2 - Definition 3 - Usage of SQL 4 - What is SQL used for? 5 - Who uses SQL? 6 - Definition of a Database 7 - What is SQL Developer? 8 Two The SQL Developer Interface 9 - Introduction

More information

Data Definition Language (DDL)

Data Definition Language (DDL) Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Database Lab (ECOM 4113) Lab 6 Data Definition Language (DDL) Eng. Mohammed Alokshiya November 11, 2014 Database Keys A key

More information

EnableBasic. The Enable Basic language. Modified by Admin on Sep 13, Parent page: Scripting Languages

EnableBasic. The Enable Basic language. Modified by Admin on Sep 13, Parent page: Scripting Languages EnableBasic Old Content - visit altium.com/documentation Modified by Admin on Sep 13, 2017 Parent page: Scripting Languages This Enable Basic Reference provides an overview of the structure of scripts

More information

Greenplum SQL Class Outline

Greenplum SQL Class Outline Greenplum SQL Class Outline The Basics of Greenplum SQL Introduction SELECT * (All Columns) in a Table Fully Qualifying a Database, Schema and Table SELECT Specific Columns in a Table Commas in the Front

More information

normalization are being violated o Apply the rule of Third Normal Form to resolve a violation in the model

normalization are being violated o Apply the rule of Third Normal Form to resolve a violation in the model Database Design Section1 - Introduction 1-1 Introduction to the Oracle Academy o Give examples of jobs, salaries, and opportunities that are possible by participating in the Academy. o Explain how your

More information

Oracle Database: Introduction to SQL Ed 2

Oracle Database: Introduction to SQL Ed 2 Oracle University Contact Us: +40 21 3678820 Oracle Database: Introduction to SQL Ed 2 Duration: 5 Days What you will learn This Oracle Database 12c: Introduction to SQL training helps you write subqueries,

More information

Senturus Analytics Connector. User Guide Cognos to Tableau Senturus, Inc. Page 1

Senturus Analytics Connector. User Guide Cognos to Tableau Senturus, Inc. Page 1 Senturus Analytics Connector User Guide Cognos to Tableau 2019-2019 Senturus, Inc. Page 1 Overview This guide describes how the Senturus Analytics Connector is used from Tableau after it has been configured.

More information

Using the Set Operators. Copyright 2006, Oracle. All rights reserved.

Using the Set Operators. Copyright 2006, Oracle. All rights reserved. Using the Set Operators Objectives After completing this lesson, you should be able to do the following: Describe set operators Use a set operator to combine multiple queries into a single query Control

More information

SQL Structured Query Language (1/2)

SQL Structured Query Language (1/2) Oracle Tutorials SQL Structured Query Language (1/2) Giacomo Govi IT/ADC Overview Goal: Learn the basic for interacting with a RDBMS Outline SQL generalities Available statements Restricting, Sorting and

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the fundamentals of SQL and PL/SQL along with the

More information

Study Guide for: Oracle Database SQL Certified Expert Exam Guide (Exam 1Z0-047)

Study Guide for: Oracle Database SQL Certified Expert Exam Guide (Exam 1Z0-047) Study Guide for: Oracle Database SQL Certified Expert Exam Guide (Exam 1Z0-047) Study Material for: Student 08.10.2010 15:49:30 Examine the following data listing for table WORKERS: WORKER_ID LAST_NAME

More information

Braindumps.1z QA

Braindumps.1z QA Braindumps.1z0-061.75.QA Number: 1z0-061 Passing Score: 800 Time Limit: 120 min File Version: 19.1 http://www.gratisexam.com/ Examcollection study guide is the best exam preparation formula. The Dump provides

More information

Oracle Database: SQL and PL/SQL Fundamentals Ed 2

Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals

More information

What are temporary tables? When are they useful?

What are temporary tables? When are they useful? What are temporary tables? When are they useful? Temporary tables exists solely for a particular session, or whose data persists for the duration of the transaction. The temporary tables are generally

More information

1 Writing Basic SQL SELECT Statements 2 Restricting and Sorting Data

1 Writing Basic SQL SELECT Statements 2 Restricting and Sorting Data 1 Writing Basic SQL SELECT Statements Objectives 1-2 Capabilities of SQL SELECT Statements 1-3 Basic SELECT Statement 1-4 Selecting All Columns 1-5 Selecting Specific Columns 1-6 Writing SQL Statements

More information

Testpassport.

Testpassport. Testpassport http://www.testpassport.cn Exam : 1Z0-051 Title : Oracle Database: SQL Fundamentals I Version : DEMO 1 / 11 1. View the Exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS,

More information

Reporting Functions & Operators

Reporting Functions & Operators Functions Reporting Functions & Operators List of Built-in Field Functions Function Average Count Count Distinct Maximum Minimum Sum Sum Distinct Return the average of all values within the field. Return

More information

2 PL/SQL - fundamentals Variables and Constants Operators SQL in PL/SQL Control structures... 7

2 PL/SQL - fundamentals Variables and Constants Operators SQL in PL/SQL Control structures... 7 Table of Contents Spis treści 1 Introduction 1 2 PLSQL - fundamentals 1 2.1 Variables and Constants............................ 2 2.2 Operators.................................... 5 2.3 SQL in PLSQL.................................

More information

UNIT III INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL)

UNIT III INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) UNIT III INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) 3.1Data types 3.2Database language. Data Definition Language: CREATE,ALTER,TRUNCATE, DROP 3.3 Database language. Data Manipulation Language: INSERT,SELECT,UPDATE,DELETE

More information

Introduction to Programming, Aug-Dec 2006

Introduction to Programming, Aug-Dec 2006 Introduction to Programming, Aug-Dec 2006 Lecture 3, Friday 11 Aug 2006 Lists... We can implicitly decompose a list into its head and tail by providing a pattern with two variables to denote the two components

More information

1Z Oracle Database 11g - SQL Fundamentals I Exam Summary Syllabus Questions

1Z Oracle Database 11g - SQL Fundamentals I Exam Summary Syllabus Questions 1Z0-051 Oracle Database 11g - SQL Fundamentals I Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-051 Exam on Oracle Database 11g - SQL Fundamentals I 2 Oracle 1Z0-051 Certification

More information

Python allows variables to hold string values, just like any other type (Boolean, int, float). So, the following assignment statements are valid:

Python allows variables to hold string values, just like any other type (Boolean, int, float). So, the following assignment statements are valid: 1 STRINGS Objectives: How text data is internally represented as a string Accessing individual characters by a positive or negative index String slices Operations on strings: concatenation, comparison,

More information

Web Application Development (WAD) V th Sem BBAITM(Unit-1) By: Binit Patel

Web Application Development (WAD) V th Sem BBAITM(Unit-1) By: Binit Patel Web Application Development (WAD) V th Sem BBAITM(Unit-1) By: Binit Patel Introduction: PHP (Hypertext Preprocessor) was invented by Rasmus Lerdorf in 1994. First it was known as Personal Home Page. Later

More information

Relational Database Language

Relational Database Language DATA BASE MANAGEMENT SYSTEMS Unit IV Relational Database Language: Data definition in SQL, Queries in SQL, Insert, Delete and Update Statements in SQL, Views in SQL, Specifying General Constraints as Assertions,

More information

Oracle SQL. Revision Notes

Oracle SQL. Revision Notes Oracle SQL Revision Notes 1 - Oracle Server, technology and the relational paradigm. 2 - Data retrieval using the select statement. 3 - Restricting and sorting data. 4 - Single row functions. 5 - Using

More information

BASIC ELEMENTS OF A COMPUTER PROGRAM

BASIC ELEMENTS OF A COMPUTER PROGRAM BASIC ELEMENTS OF A COMPUTER PROGRAM CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING LOGO Contents 1 Identifier 2 3 Rules for naming and declaring data variables Basic data types 4 Arithmetic operators

More information

Writing PL/SQL Executable Statements. Copyright 2007, Oracle. All rights reserved.

Writing PL/SQL Executable Statements. Copyright 2007, Oracle. All rights reserved. What Will I Learn? In this lesson, you will learn to: Construct accurate variable assignment statements in PL/SQL Construct accurate statements using built-in SQL functions in PL/SQL Differentiate between

More information

Using Custom Number Formats

Using Custom Number Formats APPENDIX B Using Custom Number Formats Although Excel provides a good variety of built-in number formats, you may find that none of these suits your needs. This appendix describes how to create custom

More information

Unit 6. Scalar Functions

Unit 6. Scalar Functions Unit 6. Scalar Functions What This Unit Is About This unit provides information on how to use various common scalar functions. What You Should Be Able to Do After completing this unit, you should be able

More information

PeopleSoft (version 9.1): Introduction to the Query Tool

PeopleSoft (version 9.1): Introduction to the Query Tool PeopleSoft (version 9.1): Introduction to the Query Tool Introduction This training material introduces you to some of the basic functions of the PeopleSoft (PS) Query tool as they are used at the University

More information

Chapter 2 Using Data. Instructor s Manual Table of Contents. At a Glance. Overview. Objectives. Teaching Tips. Quick Quizzes. Class Discussion Topics

Chapter 2 Using Data. Instructor s Manual Table of Contents. At a Glance. Overview. Objectives. Teaching Tips. Quick Quizzes. Class Discussion Topics Java Programming, Sixth Edition 2-1 Chapter 2 Using Data At a Glance Instructor s Manual Table of Contents Overview Objectives Teaching Tips Quick Quizzes Class Discussion Topics Additional Projects Additional

More information

Full file at

Full file at Java Programming: From Problem Analysis to Program Design, 3 rd Edition 2-1 Chapter 2 Basic Elements of Java At a Glance Instructor s Manual Table of Contents Overview Objectives s Quick Quizzes Class

More information

SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database.

SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database. SQL SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database. SQL*Plus SQL*Plus is an application that recognizes & executes SQL commands &

More information

AO3 - Version: 2. Oracle Database 11g SQL

AO3 - Version: 2. Oracle Database 11g SQL AO3 - Version: 2 Oracle Database 11g SQL Oracle Database 11g SQL AO3 - Version: 2 3 days Course Description: This course provides the essential SQL skills that allow developers to write queries against

More information

Full file at

Full file at Java Programming, Fifth Edition 2-1 Chapter 2 Using Data within a Program At a Glance Instructor s Manual Table of Contents Overview Objectives Teaching Tips Quick Quizzes Class Discussion Topics Additional

More information

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The basic commands

More information

COURSE STUDENT LEARNING OUTCOMES: See attached or in course s learn.unm.edu

COURSE STUDENT LEARNING OUTCOMES: See attached or in course s learn.unm.edu Syllabus Online IT 222(CRN #43196) Data Base Management Systems Instructor: James Hart / hart56@unm.edu Office Room Number: B 123 Instructor's Campus Phone: 505.925.8720 / Mobile 505.239.3435 Office Hours:

More information

Using SQL with SQL Developer 18.2

Using SQL with SQL Developer 18.2 One Introduction to SQL 2 - Definition 3 - Usage of SQL 4 - What is SQL used for? 5 - Who uses SQL? 6 - Definition of a Database 7 - What is SQL Developer? 8 Two The SQL Developer Interface 9 - Introduction

More information

Oracle Database 10g: Introduction to SQL

Oracle Database 10g: Introduction to SQL ORACLE UNIVERSITY CONTACT US: 00 9714 390 9000 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database

More information

Agenda & Reading. VB.NET Programming. Data Types. COMPSCI 280 S1 Applications Programming. Programming Fundamentals

Agenda & Reading. VB.NET Programming. Data Types. COMPSCI 280 S1 Applications Programming. Programming Fundamentals Agenda & Reading COMPSCI 80 S Applications Programming Programming Fundamentals Data s Agenda: Data s Value s Reference s Constants Literals Enumerations Conversions Implicitly Explicitly Boxing and unboxing

More information

Senturus Analytics Connector. User Guide Cognos to Power BI Senturus, Inc. Page 1

Senturus Analytics Connector. User Guide Cognos to Power BI Senturus, Inc. Page 1 Senturus Analytics Connector User Guide Cognos to Power BI 2019-2019 Senturus, Inc. Page 1 Overview This guide describes how the Senturus Analytics Connector is used from Power BI after it has been configured.

More information

INDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables

INDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables INDEX Exercise No Title 1 Basic SQL Statements 2 Restricting and Sorting Data 3 Single Row Functions 4 Displaying data from multiple tables 5 Creating and Managing Tables 6 Including Constraints 7 Manipulating

More information

Oracle Database SQL Basics

Oracle Database SQL Basics Oracle Database SQL Basics Kerepes Tamás, Webváltó Kft. tamas.kerepes@webvalto.hu 2015. február 26. Copyright 2004, Oracle. All rights reserved. SQL a history in brief The relational database stores data

More information

Oracle Database 11g: SQL Fundamentals I

Oracle Database 11g: SQL Fundamentals I Oracle Database 11g: SQL Fundamentals I Volume I Student Guide D49996GC11 Edition 1.1 April 2009 D59980 Authors Puja Singh Brian Pottle Technical Contributors and Reviewers Claire Bennett Tom Best Purjanti

More information

INTRODUCTION TO DATABASE

INTRODUCTION TO DATABASE 1 INTRODUCTION TO DATABASE DATA: Data is a collection of raw facts and figures and is represented in alphabets, digits and special characters format. It is not significant to a business. Data are atomic

More information

Principles of Data Management

Principles of Data Management Principles of Data Management Alvin Lin August 2018 - December 2018 Structured Query Language Structured Query Language (SQL) was created at IBM in the 80s: SQL-86 (first standard) SQL-89 SQL-92 (what

More information

1Z0-071 Exam Questions Demo Oracle. Exam Questions 1Z Oracle Database 12c SQL.

1Z0-071 Exam Questions Demo   Oracle. Exam Questions 1Z Oracle Database 12c SQL. Oracle Exam Questions 1Z0-071 Oracle Database 12c SQL Version:Demo 1. the Exhibit and examine the structure of the CUSTOMERS and CUST_HISTORY tables. The CUSTOMERS table contains the current location of

More information

Some Basic Aggregate Functions FUNCTION OUTPUT The number of rows containing non-null values The maximum attribute value encountered in a given column

Some Basic Aggregate Functions FUNCTION OUTPUT The number of rows containing non-null values The maximum attribute value encountered in a given column SQL Functions Aggregate Functions Some Basic Aggregate Functions OUTPUT COUNT() The number of rows containing non-null values MIN() The minimum attribute value encountered in a given column MAX() The maximum

More information

Overview of PL/SQL. About PL/SQL. PL/SQL Environment. Benefits of PL/SQL. Integration

Overview of PL/SQL. About PL/SQL. PL/SQL Environment. Benefits of PL/SQL. Integration About PL/ Overview of PL/ PL/ is an extension to with design features of programming languages. Data manipulation and query statements of are included within procedural units of code. PL/ Environment Benefits

More information

Creating and Managing Tables Schedule: Timing Topic

Creating and Managing Tables Schedule: Timing Topic 9 Creating and Managing Tables Schedule: Timing Topic 30 minutes Lecture 20 minutes Practice 50 minutes Total Objectives After completing this lesson, you should be able to do the following: Describe the

More information

NCSS Statistical Software. The Data Window

NCSS Statistical Software. The Data Window Chapter 103 Introduction This chapter discusses the operation of the NCSS Data Window, one of the four main windows of the NCSS statistical analysis system. The other three windows are the Output Window,

More information

Scheduling. Scheduling Tasks At Creation Time CHAPTER

Scheduling. Scheduling Tasks At Creation Time CHAPTER CHAPTER 13 This chapter explains the scheduling choices available when creating tasks and when scheduling tasks that have already been created. Tasks At Creation Time The tasks that have the scheduling

More information

Visual C# Instructor s Manual Table of Contents

Visual C# Instructor s Manual Table of Contents Visual C# 2005 2-1 Chapter 2 Using Data At a Glance Instructor s Manual Table of Contents Overview Objectives s Quick Quizzes Class Discussion Topics Additional Projects Additional Resources Key Terms

More information

1Z0-071 Exam Questions Demo Oracle. Exam Questions 1Z Oracle Database 12c SQL.

1Z0-071 Exam Questions Demo   Oracle. Exam Questions 1Z Oracle Database 12c SQL. Oracle Exam Questions 1Z0-071 Oracle Database 12c SQL Version:Demo 1. the Exhibit and examine the structure of the CUSTOMERS and CUST_HISTORY tables. The CUSTOMERS table contains the current location of

More information

Getting started with Java

Getting started with Java Getting started with Java Magic Lines public class MagicLines { public static void main(string[] args) { } } Comments Comments are lines in your code that get ignored during execution. Good for leaving

More information

3 The Building Blocks: Data Types, Literals, and Variables

3 The Building Blocks: Data Types, Literals, and Variables chapter 3 The Building Blocks: Data Types, Literals, and Variables 3.1 Data Types A program can do many things, including calculations, sorting names, preparing phone lists, displaying images, validating

More information

SQL Structured Query Language Introduction

SQL Structured Query Language Introduction SQL Structured Query Language Introduction Rifat Shahriyar Dept of CSE, BUET Tables In relational database systems data are represented using tables (relations). A query issued against the database also

More information

Linux & Shell Programming 2014

Linux & Shell Programming 2014 Practical No : 1 Enrollment No: Group : A Practical Problem Write a date command to display date in following format: (Consider current date as 4 th January 2014) 1. dd/mm/yy hh:mm:ss 2. Today's date is:

More information