Here are the SQL commands for the statements in part (a):
(i) Select Gcode, Gname from Games;
(ii) Select * from Games where PrizeMoney > 7000;
(iii) Select * from Games order by ScheduleDate;
(iv) Select Type, sum(PrizeMoney) from Games group by Type;
The outputs for the queries in part (b) are:
(i) 3
(ii) 19-Mar-2004, 1-Jan-2004
(iii) Ravi Sahai Lawn Tennis
(iv) 101, 103, 108
After completing this module, you will be able to:
List and describe the major components of the Teradata architecture.
Describe how the components interact to manage incoming and outgoing data.
List 5 types of Teradata database objects.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
After completing this module, you will be able to:
List and describe the major components of the Teradata architecture.
Describe how the components interact to manage incoming and outgoing data.
List 5 types of Teradata database objects.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
1. UNIT 3.3 SQL COMMANDS
INTRODUCTION :: My SQL is RDBMS that uses SQL to access
the data. It is downloaded from www.mysql.org.MySQL was
invented by Michael Widenius. The logo of My SQL is ,the
Dolphin.SQL stands for Structured Query Language. Initially SQL
was called Sequel.
MEANING :: SQL is simple query language used for accessing,
managing and handling data in relation database.
CLASSIFICATION OF SQL STATEMENTS :: SQL commands
can be divided into following categories.
1. Data Definition Language(DDL)
2. Data Manipulation Language(DML)
2. 3. Data Control Language(DCL)
4. Transaction Control Language(TCL)
Data Definition language(DDL) :: (Defines storage structure.)
Create
Alter
Drop
Truncate
Data Manipulation Language(DML):: (Used to access and
manipulate data.)
Select
Insert
Update
Delete
3. Data Control Language(DCL)::
Grant
Revoke
Transaction Control Language(TCL)::
Commit
Rollback
Savepoint
DATA DICTIONARY:: Data Dictionary contains data about
database. Data Dictionary contains information about tables. It
contains result of compilation of DDL statements.
Metadata means data about data.
Concept of Data type:: Data types indicate the type of value
the field will contain.
4.
5. String, Character and date must always be enclosed in
single quotes/double quotes.
Difference between Char and Varchar :: Char refers to
Character and Varchar refers to Variable Character.
Char(7) – It always take 7 bytes of data whether you are
storing one character or 7 character. There is wastage of
space. Char is fixed length data type.
Varchar(10) – If you are storing one character then it will take
only one byte and if you are storing ten character then it will
take ten bytes. There is no wastage of space. Extra space is
automatically removed. Varchar is variable length data type.
6. Null Values :: If a column has no value then column is said to
be null. If column is assign as primary key then it must not
Null.
Comments :: Comments used in SQL are
/* text */ (for multiple lines)
# (for single lines)
-- (for single lines) and must be followed by a space
SQL Command Syntax ::
Keyword(select , insert…….)
Statements
Clauses(from , where)
Argument(where sales=5000) sales=5000 is an argument.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34. Grouping Result : Group by clause :: Group by clause
is used to divide the table into groups.
Table::emp
select job , count(*) , sum(comm)
from emp
group by job;
emp no empname Job hiredate sal comm deptno
7839 King President 17-Nov-81 5000 NULL
7698 Blake Manager 01-May-81 2850 80
7782 Clark Manager 09-June-81 2800 NULL
7566 Jones Manager 12-Apr-81 2450 21
7564 Martin Salesman 28-Sep-81 1250 1400 30
7499 Allen Salesman 20-Sep-81 1600 300 30
35. job count(*) sum(comm)
President 1 0
Manager 3 0
Salesman 2 1700
Placing condition on groups – having clause
select grade , avg(gross) , sum(gross)
from employee
group by grade
having grade=‘E2’;
grade avg(gross) sum(gross)
E2 8500 17000
36. Select job , count(*)
from emp
group by job
having count(*)<3;
Functions used in SQL ::
Avg :: Compute average value
Min :: Find minimum value
Max :: Find maximum value
job count(*)
Presidnt 1
Salesman 2
37. Sum :: Find total value
Count :: to count NOT NULL values in a column
Count(*) :: to count total number of rows in a table
Joins:: A join is a query that combines rows from two
or more tables. In a join query , more than one table
are listed in from clause.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47. View Command ::
View is a Virtual table with no data. If data is changing in
underlying table, the same change is reflect in view.
create view taxpayee as
select * from employee
where gross>8000;
taxpayee is a view(virtual table) that contain details of those
employees from employee table that have gross > 8000
Select * from taxpayee;
This query dislays all rows present in view.
48. If any column in the view is to be given a different name
other than the name of the column from which it is delivered,
it is done as follows.
create view taxpayee
(empcode, empname, sex, empgrade, empgross) as
select * from employee
where gross > 8000;
create view taxpayee(ecode,ename,tax) as
select ecode,ename,gross*.1
from employee
Where gross > 8000;
49. The above created view has an additional column tax
which is 10% of the gross
You can use insert , delete , update command on view
50. Assignment – 5
Consider the following tables games and players and answer (a) and (b) part of this
question.
TABLE :: Games
TABLE :: Players
Gcode Gname Type Number PrizeMoney Scheduled date
101 Carrom Board Indoor 2 5000 23-Jan-2004
102 Badminton Outdoor 2 12000 12-Dec-2003
103 Table Tennis Indoor 4 8000 14-Feb-2004
105 Chess Indoor 2 9000 1-Jan-2004
108 Lawn Tennis Outdoor 4 25000 19-Mar-2004
Pcode Name Gcod
e
1 Nabi Ahmad 101
2 Ravi Sahai 108
3 Jatin 101
4 Nazreen 103
51. (a) Write SQL commands for the following statement
(i) To display the name of all Games with their Gcode.
(ii) To display details of those Games which are having PrizeMoney
more than 7000
(iii) To display the content of the Games table in ascending order of
Schedule date
(iv) To display sum of PrizeMoney for each type of Games.
(b) Give the output of the following SQL Queries
(i) Select count(distinct Number) from Games;
(ii) Select max(Schedule date), min(Schedule date);
(iii) Select Name Gname from Game G Players P
Where G.Gcode=P.Gcode and G.PrizeMoney>10000;
(iv) Select distinct Gcode from Players;