The document provides information on various SQL functions. It discusses functions for sorting query results, performing calculations on aggregate data, grouping data, and filtering groups. Date and string functions are also covered, along with numeric and mathematical functions. Common functions include ORDER BY for sorting, SUM, AVG, COUNT for aggregates, GROUP BY for grouping, and HAVING for filtering groups. NOW() and SYSDATE() are described as functions for returning the current date and time.
Founded in 2000 and headquartered in Cochin, IndiaOptions Softwares Pvt Ltd became established as the best destination for IT Training and Development in India. In the span of 15 years when we look back our success lies in the fact that all our students are well employed and they refer others to undergo IT training here. Through our extensive industry experience IndiaOptions brings together a wealth of knowledge, in a wide range of IT sectors. Our aim is to deliver quality training solutions focused on the professional development of individuals in order to meet the needs of industry and the future workforce
Founded in 2000 and headquartered in Cochin, IndiaOptions Softwares Pvt Ltd became established as the best destination for IT Training and Development in India. In the span of 15 years when we look back our success lies in the fact that all our students are well employed and they refer others to undergo IT training here. Through our extensive industry experience IndiaOptions brings together a wealth of knowledge, in a wide range of IT sectors. Our aim is to deliver quality training solutions focused on the professional development of individuals in order to meet the needs of industry and the future workforce
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.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
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
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
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.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
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.
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.
2. SORTING OUTPUT
By default records will come in the output in the same order in which it was
entered. Tosee the output rows in sorted or arranged in ascending or descending
order SQL provide ORDER BY clause. By default output will be ascending
order(ASC) to see output in descending order we use DESC clause with ORDER BY
.
Select * from emp order by name; (ascending order)
Select * from emp order by salary desc;
Select * from emp order by dept asc, salary desc;
3. AGGREGATEfunctions
Aggregate function is used to perform calculation on group of rows and return the
calculated summary like sum of salary,averageof salary etc.
Available aggregatefunctions are –
1. SUM()
2. AVG()
3. COUNT()
4. MAX()
5. MIN()
6. COUNT(*)
4. AGGREGATEfunctions
Select SUM(salary) from emp;
Output – 161000
Select SUM(salary) from emp where dept=‘sales’;
Output - 59000
Empno Name Dept Salary
1 Ravi Sales 24000
2 Sunny Sales 35000
3 Shobit IT 30000
4 Vikram IT 27000
5 nitin HR 45000
5. AGGREGATEfunctions
Empno Name Dept Salary
1 Ravi Sales 24000
2 Sunny Sales 35000
3 Shobit IT 30000
4 Vikram IT 27000
5 nitin HR 45000
Select AVG(salary) from emp;
Output – 32200
Select AVG(salary) from emp where dept=‘sales’;
Output - 29500
6. AGGREGATEfunctions
Select COUNT(name) from emp;
Empno Name Dept Salary
1 Ravi Sales 24000
2 Sunny Sales 35000
3 Shobit IT 30000
4 Vikram IT 27000
5 nitin HR 45000
Output – 5
Select COUNT(salary) from emp where dept=‘HR’;
Output - 1
Select COUNT(DISTINCT dept)from emp;
Output - 3
7. AGGREGATEfunctions
Empno Name Dept Salary
1 Ravi Sales 24000
2 Sunny Sales 35000
3 Shobit IT 30000
4 Vikram IT 27000
5 nitin HR 45000
Select MAX(Salary) from emp;
Output – 45000
Select MAX(salary) from emp where dept=‘Sales’;
Output - 35000
8. AGGREGATEfunctions
Empno Name Dept Salary
1 Ravi Sales 24000
2 Sunny Sales 35000
3 Shobit IT 30000
4 Vikram IT 27000
5 nitin HR 45000
Select MIN(Salary) from emp;
Output – 24000
Select MIN(salary) from emp where dept=‘IT’;
Output - 27000
9. AGGREGATEfunctions
Empno Name Dept Salary
1 Ravi Sales 24000
2 Sunny Sales 35000
3 Shobit IT 30000
4 Vikram IT 27000
5 nitin HR 45000
6 Krish HR
Select COUNT(*)from emp;
Output – 6
Select COUNT(salary) from emp;
Output - 5
10. count(*) Vs count()
Count(*) function is used to count the number of rows in query
output whereas count() is used to count values present in any
column excludingNULL values.
Note:
All aggregatefunction ignores the NULL values.
11. GROUP BY
GROUP BY clause is used to divide the table into logical groups and we can
perform aggregate functions in those groups. In this case aggregate function
will return output for each group. For example if we want sum of salary of each
department we have to divide table records.
12. Aggregate functions by default takes the entire table as a single group that’s why we are
getting the sum(), avg(), etc output for the entire table. Now suppose organizationwants the
sum() of all the job separately,or wants to find the average salary of every job. In this case
we have to logically divide our table into groups based on job, so that every group will be
passed to aggregate function for calculation and aggregate function will return the result for
every group.
13. Group by clause helps up to divide the table into logical groups based on any
column value. In those logically divided records we can apply aggregate
functions.For.E.g.
SELECT SUM(SAL) FROM EMP GROUP BY DEPT;
SELECT JOB,SUM(SAL) FROM EMP GROUP BY
DEPT;
SELECT JOB,SUM(SAL),AVG(SAL),MAX(SAL),COUNT(*) EMPLOYEE_COUNTFROM EMP;
NOTE :- when we are using GROUP BY we can use only aggregate function and the column
on which we are grouping in the SELECT list because they will form a group other than any
column will gives you an error because they will be not the part of the group.
For e.g.
SELECT ENAME,JOB,SUM(SAL) FROM EMP GROUP BY JOB;
Error -> because Ename is not a group expression
14. HAVING with GROUP BY
• If we wantto filter or restrict some rowsfrom the output produced by GROUP BYthen we use HAVING
clause. It is used to put condition of group of rows. With having clause we can use aggregatefunctions
also.
• WHERE is used before the GROUP BY.With WHEREwe cannot use aggregatefunction.
• E.g.
• SELECT DEPT,AVG(SAL)FROM EMP GROUP BYDEPT HAVINGJOB IN (‘HR’,’SALES’
)
• SELECT DEPT,MAX(SAL),MIN(SAL),COUNT(*)FROM EMP GROUP BYDEPT HAVING
COUNT(*)>2
• SELECT DEPT,MAX(SAL),MIN(SAL)FROM EMP WHERE SAL>=2000 GROUP BYDEPT HAVING
DEPT IN(‘IT’,’HR’)
15. MYSQL FUNCTIONS
A function is built – in code for specific purpose that takesvalue and returns a
single value. Valuespassed to functions are known as arguments/parameters.
There are various categories of function in MySQL:-
1) String Function
2) Mathematical function
3) Date and time function
16. Function Description Example
CHAR() Return character for
given ASCII Code
Select Char(65);
Output- A
CONCAT() Return concatenated
string
Select concat(name, ‘ works in ‘, dept,’ department ’);
LOWER()/
LCASE()
Return string in small
letters
Select lower(‘INDIA’); Output- india
Select lower(name) from emp;
SUBSTRING(S,
P,N) /
MID(S,P,N)
Return N character of
string S, beginning from
P
Select SUBSTRING(‘LAPTOP’,3,3); Output – PTO
Select SUBSTR(‘COMPUTER’,4,3); Output – PUT
UPPER()/
UCASE()
Return string in capital
letters
Select Upper(‘india’); Output- INDIA
LTRIM() Removes leading space Select LTRIM(‘ Apple’); Output- ‘Apple’
RTRIM Remove trailing space Select RTRIM(‘Apple ‘); Output- ‘Apple’
String Function
17. Function Description Example
TRIM() Remove spaces from
beginning and ending
Select TRIM(‘ Apple ‘); Output-’Apple’
Select* fromemp where trim(name) = ‘Suyash’;
INSTR() It search one string in
another string and
returns position, if not
found 0
SelectINSTR(‘COMPUTER’,’PUT’); Output-4
Select INSTR(‘PYTHON’,’C++’); Output – 0
LENGTH() Returns number of
character in string
Selectlength(‘python’); Output- 7 Select
name, length(name) fromemp
LEFT(S,N) Return N characters of S
from beginning
SelectLEFT(‘KV NO1 TEZPUR’,2); Output-KV
String Function
18. RIGHT(S,N) Return N characters of S
from ending
Select RIGHT(‘KV NO1 ’,3); Output- NO1
19. Function Description Example
MOD(M,N) Return remainderM/N SelectMOD(11,5); Output- 1
POWER(B,P) Return B to power P SelectPOWER(2,5); Output-32
ROUND(N,D) Return number rounded to D
place after decimal
SelectROUND(11.589,2); Output- 11.59
SelectROUND(12.999,2); Output- 13.00
SelectROUND(267.478,-2) OUTPUT- 300
SIGN(N) Return -1 for –ve number 1 for
ve
+ number
Selectsign(-10) Output : -1
Selectsign(10); Output : 1
SQRT(N) Returns square rootof N SelectSQRT(144);Output: 12
TRUNCATE(M,
N)
Return number upto N place after
decimal without rounding it
SelectTruncate(15.789,2);Output: 15.79
Numeric Function
20. Function Description Example
CURDATE()/
CURRENT_DATE()/
CURRENT_DATE
Return the current date Selectcurdate(); Select current_date();
DATE() Return date part from
datetime expression
Select date(‘2018-08-15 12:30’); Output:
2018-08-15
MONTH() Return month fromdate Selectmonth(‘2018-08-15’);Output: 08
YEAR() Return year fromdate Selectyear(‘2018-08-15’);Output: 2018
DAYNAME() Return weekday name Select dayname(‘2018-12-04’); Output:
Tuesday
DAYOFMONTH() Return value from1-31 Select dayofmonth(‘2018-08-15’) Output:
15
DAYOFWEEK() Return weekday index, for
Sunday-1, Monday-2, ..
Select dayofweek(‘2018-12-04’); Output:
3
Date and Time Function
22. Date and Time Function
Function Description Example
NOW() Return both current date and time Select now();
at which the function executes
SYSDATE() Return both current date and time Select sysdate()
Difference Between NOW() and SYSDATE():
NOW() function return the date and time at which function was executed even if we
execute multiple NOW() function with select. whereas SYSDATE() will always return
date and time at which each SYDATE() function started execution. For example.
mysql> Select now(), sleep(2), now();
Output: 2018-12-04 10:26:20, 0, 2018-12-04 10:26:20
mysql> Select sysdate(), sleep(2), sysdate();
Output: 2018-12-04 10:27:08, 0, 2018-12-04 10:27:10