The INSERT statement - Part I Example : use employees; SELECT * FROM employees LIMIT 10; #insert data insert into employees( emp_no, birth_date, first_name, last_name, gender, hire_date ) values( 999901, '1999-10-10', 'John', 'wick', 'M', '2020-08-31' ); SELECT * FROM employees WHERE emp_no = 999901; ...
Preparation Test date : 28/09/2020 CSS : 1: Explain the CSS “box model” and the layout components that it consists of. Provide some usage examples. The CSS box model is a rectangular layout paradigm for HTML elements that consists of the following: Content - The content of the box, where text and images appear Padding - A transparent area surrounding the content (i.e., the amount of space between the border and the content) Border - A border surrounding the padding (if any) and content Margin - A transparent area surrounding the border (i.e., the amount of space between the border and any neighboring elements) Each of t...
Stored routines/procedures Stored procedures - Example - Part II - exercise Create a procedure that will provide the average salary of all employees. Then, call the procedure. Stored procedures - Example - Part II - solution DELIMITER $$ CREATE PROCEDURE avg_salary() BEGIN SELECT AVG(salary) FROM ...
Comments
Post a Comment