-
Notifications
You must be signed in to change notification settings - Fork 0
intro to Data bases with Python
Ahmed Ayman edited this page Jul 21, 2017
·
10 revisions
here are some notes from the course
- a Data base at least one table.
- for each data in the table ..it has data type each row has a meaning.
- with related tables .. we join them to get sense of one of the tables that depend on the other.
- there has to be some sort of unique column.
- the joins again : we use them to do some aggregation [collection of data according to some criteria].
- text — a string of any length, like Python str or unicode types.
- char(n) — a string of exactly n characters.
- varchar(n) — a string of up to n characters.
- integer — an integer value, like Python int.
- real — a floating-point value, like Python float. Accurate up to six decimal places.
- double precision — a higher-precision floating-point value. Accurate up to 15 decimal places.
- decimal — an exact decimal value.
- date — a calendar date; including year, month, and day.
- time — a time of day.
- timestamp — a date and time together.
- to check equality we need just one equal mark.
- conditions :
where not (col1 ='x' and/or col2 ='y') ;
less or greater >= <= .
offset used with a limit to get set of the limited data ... select name from animals order by name limit 10 offset 20;
will return the elements from 21 30.
limit : how many to return
offset : how many to skip.
or group by birthdate. (the minimum)
- HTML & CSS.
- Responsive web design with BootStrap.
- JQuery Notes.
- intro to JS
- OOP JS
- basic algorithm scripting.
- JSON API's and AJAX.