General outline for the first day of learning python

1). Python basic grammar: 4 weeks course(Final exam)2).Front-end knowledge points: html, css, javascript(js)、jQuery

3). Linux(system),database(Relational&非Relational)4).python framework

5). reptile

6). data analysis(artificial intelligence)database(database:db)

Definition: A warehouse that stores data

Main object: data sheet(table)

Common database objects: tables, views, indexes, sequences, synonyms...Table structure: Row(row), Column(column)Row: a piece of data(information)Column: field(单独的information数据)

sql:structure query language(Structured query language)

classification:

1). DDL operation:(Tough, equivalent to the CEO in the enterprise)For operating database objects(form)The level:

contain:

①.Create a table: create table...

②.Drop table: drop table...

③.Modify table(increase/delete/Modify a column):alter table ...

④.Empty table: truncate table...

Features:

Submit by default, no regrets(Not allowed to return)2).DML operation:(Gentle, equivalent to a project manager in an enterprise)

For the data level:

contain:

①.Increase data: insert into...

②.Delete data: delete...

③.Modify data: update...

④.Query data: select...

Features:

Will not submit by default, you can roll back(Regret taking medicine)Web programmer mantra: crud operation(Add, delete, modify)3).DCL operation:

For the processing of some things:

contain:

①.Submit operation: commit

②.Rollback operation: rollback

Data types in oracle:

1). Number: number

Division:

①.Integer type:

Variable m: indicates the length

number(m)-->Example: number(5)1000(Correct)、20000(Correct)、0(Correct)、999999(wrong)

②.Floating point:

Variable m:Indicates the overall length

Variable n: how many decimal places

number(m,n)-->Example: number(8,3)1234.567(Correct)、123.23(Correct)、666666.666(wrong)2).Character type:

Variable m: indicates the length

Division:

①.Fixed-length characters:

char(m):-->Example: char(3)gender(male/m/0, female/f/1)

②.Variable length characters:

varchar2(m):-->Example: char(30)Sex name: Invincible in the East, Ouyang Zhenhua

Distinguish between fixed-length and variable-length characters:

For variable-length characters, if the data is not full, the bottom layer of the database will automatically save the remaining capacity, but the retrieval efficiency is relatively slow(Equivalent to definition)For fixed-length characters, if the data is not full, the bottom layer of the database will still use the excess capacity(waste), But the retrieval efficiency is faster(Equivalent to variable length)3).Date type:

Keyword: date

Create table for DDL operation:

format:

create table table name(

Column name 1 data type 1(length),

Column name 2 data type 2(length),...

Column name n data type n(length));

Precautions:

1). All punctuation marks must be in the English input method

2). We cannot duplicate the table name,Do not use Chinese names

3). The semicolon can be omitted after the last column name

demand:

Create our first table: table name(python1808_your name)

Designed columns and types&The length is as follows:

Column name type&length

Name(name)varchar2(30)age(age)number(3)gender(sex)char(2)Date of birth(birthday)date

Graduated school(school)varchar2(25)

Back to Contents

Recommended Posts

General outline for the first day of learning python
Two days of learning the basics of Python
Recommendations of a few websites for learning Python
How about learning python at the age of 27?
For the first time in history, Python surpassed Java!
Consolidate the foundation of Python(7)
Consolidate the foundation of Python(6)
Consolidate the foundation of Python (3)
The usage of wheel in python
Python crawls a full set of skins for the glory of the king
Learning Python third day one-line function
Python handles the 4 wheels of Chinese
Python simulation of the landlord deal
What is the use of Python
The premise of Python string pooling
Secrets of the new features of Python 3.8
Learning path of python crawler development
The father of Python joins Microsoft
The operation of python access hdfs
The usage of tuples in python
End the method of running python
Understanding the meaning of rb in python
Can Python implement the structure of the stack?
What are the required parameters of python
Logistic regression at the bottom of python
The usage of Ajax in Python3 crawler
Python solves the Tower of Hanoi game
Solve the conflict of multiple versions of python
What is the scope of python variables
Python implements the sum of fractional sequences
What is the id function of python
Where is the pip path of python3
What are the advantages of python language
The specific method of python instantiation object
python3 realizes the function of mask drawing
What is the prospect of python development
What is the function body of python
The specific method of python import library
Solve the conflict of multiple versions of python
What is the function of adb in python
Detailed explanation of the principle of Python super() method
The difference between the syntax of java and python
Python realizes the development of student management system
Python implements the shuffling of the cards in Doudizhu
The meaning and usage of lists in python
Talking about the first experience of using Ubuntu
Can the value of the python dictionary be modified?
Python implements the source code of the snake game
First look at the new features of Ubuntu 17.10
Detailed explanation of the usage of Python decimal module
The consequences of uninstalling python in ubuntu, very
Python writes the game implementation of fishing master
Python generates the dependent files required for the project