Using SQL to find out the names of students whose scores are more than 80 in each course

Topic: there is a student table, which records the courses and scores of all students in a class. Each student has multiple courses. Different students may take different courses. Try to write an SQL statement to find out the names of all students whose course scores are greater than 80.Table structure and data are as follows: - ...

Posted by webpals on Wed, 25 Dec 2019 22:34:01 +0100

Java implements simple data migration from single database and single table to single database and single table

For simple requirements, I found a complete project github: data can be migrated through configurationhttps://github.com/Lifedance/DataTransfer Thank you very much. But it's a pity that I can't use it in my project. It's estimated that the project is not perfect, or maybe it's for safety My table can never be written. But I can ...

Posted by phpjaco on Tue, 24 Dec 2019 19:20:26 +0100

Error: cannot fetch last explain plan from PLAN_TABLE

Recently, an error "error: cannot fetch last explain plan from plan" was encountered. Therefore, the following scenarios were studied for details:     1: When you forget to use EXPLAIN PLAN in front of the SQL statement, and then use select * from table (DBMS? Xplan. Display) to view the execution plan of the specific SQL, you will en ...

Posted by D_tunisia on Mon, 23 Dec 2019 08:54:15 +0100

Oracle 04031 problem solving

background Colleagues described that the database orcl instance will be unable to connect in a period of time. It can be used after one restart. It will be unavailable again in about 30 minutes to an hour. Problem finding and troubleshooting ideas For oracle problems, first check the alert.log log View the alert.log log log ...

Posted by englishman69 on Sun, 22 Dec 2019 20:31:47 +0100

Monitoring disk usage of PostgreSQL

Each table has a main heap disk file in which most of the data is stored. If a table has columns that may be very wide (large in size), there is another TOAST file associated with the table, which is used to store values that are too wide to be stored in the main table. If you have this attachment file, there will be an index a ...

Posted by jthomp7 on Sun, 22 Dec 2019 17:46:53 +0100

Content provider of four Android application components

understand First, let's talk about why there is a ContentProvider? When an application wants to access the database of another application, because each application's database file is private and cannot be accessed directly, the accessed application needs an external database content provider, that is, content provider. &l ...

Posted by xxxxxx on Sat, 21 Dec 2019 22:30:36 +0100

Java EE Foundation (06): Servlet integration C3P0 database connection pool

Source code: GitHub point here || GitEE point here 1, C3P0 connection pool 1. C3P0 introduction C3P0 is an open source JDBC connection pool. The application program initializes the database connection according to the C3P0 configuration, and can automatically reclaim the function of idle connection. 2. Core dependency <dependency> & ...

Posted by jimdy on Fri, 20 Dec 2019 15:12:28 +0100

Experiment - who are you

Open the link and display the following: Analysis: first of all, think of the problem that this may be to forge IP, and then use the HTTP header of forged IP (for example, x-forward-for, etc.). The forgery in burp is successful, as shown in the following figure: Response results: It is found that forgery can be successfully carried out ...

Posted by pugg09 on Wed, 18 Dec 2019 21:01:25 +0100

The art of oracle programming: deep database architecture

The so-called parallel execution refers to the ability to physically divide a large serial task (any DML, or general DDL) into several smaller parts, which can be processed at the same time. When to use parallel execution Parallel execution is essentially a non scalable solution designed to allow a single user or each specific SQL statement ...

Posted by LoStEdeN on Mon, 16 Dec 2019 19:56:09 +0100

Pit encountered by python connecting database and inserting database data

When inserting data in Python, no error is reported, but no newly added data appears in the database Reason: the commit operation is missing. Solution: when Python operates the database, if the data table is modified / deleted / added, the system will save the operation in memory. Only when commit() is executed, the operation ...

Posted by s_ff_da_b_ff on Mon, 16 Dec 2019 19:44:53 +0100