201621123040 Java programming 14th Week of study summary

Source: Internet
Author: User

1. Study summary 1.1 This week summarize your database-related content in the way you like (mind mapping or other).

    • Show all databases: show databases;
      Creating a database: Create DB test;
      Delete database: Drop DB test;
      Connection database: Use test;
      Connect to the database before using the database
      View the currently connected databases: Select database ();
      Tables included in the current database: show tables;
    • Add Data:insert into students(stuno,name,gender,birthdate,major,age) values(‘201010001‘, ‘zhangsan‘, ‘m‘, ‘1992-10-01‘,‘cs‘,25);
    • Query the data in the table:select * from students;
    • Delete the data in the table (delete the record numbered 1 in the students table);delete from students where id = 1;
2. Using database technology your system 2.1 briefly describes how to use the database to transform your system. What table do you want to build? The design of your watch.
    • The experiment time is a bit hurried, the library bibliography has established two running script single information table

    • The reader only realizes single-borrow single-time storage

What are the key classes used in JDBC in the 2.2 system?
    • DriverManagerClass: Managing all drivers related to the database
    • ConnectionInterface: Establishing a connection to the database
    • StatementInterfaces: Handling SQL statements
    • ResultSetInterface: Processing a staged result set
2.3 Key code for database related modules. Critical lines need to be annotated.
    • Establish a connection to the database

    • Students realize borrowing books

    • The student realizes the return book

    • Student Lending Information Show

3. Code volume Statistics 3.1 Statistics the amount of code completed this week of new files
Weekly total code volume New Code volume Total number
First week 189 189 10 10
Second week 304 304 9 9
Third week 557 557 10 10
Week Four 621 621 8 8
Week Five 326 326 7 7
Week Six 972 972 12 12
Seventh Week 338 338 4 4
Eighth Week 379 379 6 6
Nineth Week 492 492 5 5
Tenth Week 473 473 6 6
11th Week 527 527 10 10
12th Week 661 661 7 7
13th Week 412 412 5 5

201621123040 Java programming 14th Week of study summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.