← prev | next →
piterden 2020-05-23 05:43:05
qualification of candidate called education
qualification of company called opening
when candidate makes opening it calls placement
piterden 2020-05-23 05:44:18
candidate can have A FEW jobhistories
piterden 2020-05-23 05:50:04
qualification consists of courses witch consists of sessions and participation of candidate in a session calls enroll
but participation of a candidate in a qualification calls education
what if session would been the part of qualification not related to a candidate?
piterden 2020-05-23 05:51:48
candidate already have his own qualification through session and course
piterden 2020-05-23 05:53:09
Are you The Lord of Rings?
2020-05-23 05:56:50
I write following:
SELECT C.CAND_NUM,C.CAND_LNAME, CR.COURSE_NUM,CR.COURSE_DESCRIPTION FROM CANDIDATE AS C INNER JOIN EDUCATION AS E ON C.CAND_NUM=E.CAND_NUM INNER JOIN COURSE AS CR ON CR.QUAL_CODE= E.QUAL_CODE INNER JOIN PLACEMENT AS P ON C.CAND_NUM=P.CAND_NUM WHERE C.CAND_NUM<>P.CAND_NUM
2020-05-23 05:57:20
2020-05-23 05:56:50
I write following:
SELECT C.CAND_NUM,C.CAND_LNAME, CR.COURSE_NUM,CR.COURSE_DESCRIPTION FROM CANDIDATE AS C INNER JOIN EDUCATION AS E ON C.CAND_NUM=E.CAND_NUM INNER JOIN COURSE AS CR ON CR.QUAL_CODE= E.QUAL_CODE INNER JOIN PLACEMENT AS P ON C.CAND_NUM=P.CAND_NUM WHERE C.CAND_NUM<>P.CAND_NUM
For query 5
2020-05-23 05:57:33
Need help to correct
piterden 2020-05-23 05:57:48
Sorry I don’t have more time now
2020-05-23 05:58:05
Ok. Thanks Denis..
Big5ssafari 2020-05-23 22:37:19
Hello guys i really need help with MySQL for beginners please
Master Yoda 2020-05-23 22:39:24
Big5ssafari 2020-05-23 22:37:19
Hello guys i really need help with MySQL for beginners please
Mysql documentation is the way
Big5ssafari 2020-05-23 22:48:46
Master Yoda 2020-05-23 22:39:24
Mysql documentation is the way
Okay
Big5ssafari 2020-05-23 22:49:07
Can I get some pdf
Big5ssafari 2020-05-23 22:49:56
Big5ssafari 2020-05-23 22:49:07
Can I get some pdf
For beginners
Master Yoda 2020-05-23 23:05:25
Big5ssafari 2020-05-23 22:49:56
For beginners
Go to mysql website. You have the option to download there, the documentation
acromegale 2020-05-25 02:59:25
anthonyang 2020-05-22 14:11:47
what;s the advantage between multithreded replicaition without GTID and with GTID ? does Logical_Clock need GTID to function ?
https://www.percona.com/blog/2015/01/29/multi-threaded-replication-with-mysql-5-6-use-gtids/
Multi-threaded replication with MySQL 5.6: Use GTIDs! –
Percona Database Performance BlogStephane Combaudon cautions against using “Multi-Threaded Slave” (MTS) without GTIDs on MySQL 5.6; shares two annoying issues you can expect without GTIDs.
2020-05-28 15:49:39
Hi everyone, I want to sort my database by one specific field, for example, I have the name of the database of football players, there is an identifier of a football player, name and age! Want to show the older from 25 years old? How can i do this? Please help me
piterden 2020-05-28 15:51:50
2020-05-28 15:49:39
Hi everyone, I want to sort my database by one specific field, for example, I have the name of the database of football players, there is an identifier of a football player, name and age! Want to show the older from 25 years old? How can i do this? Please help me
You should select all rows where your condition is true. I suggest you to read docs about MySQL queries.
2020-05-28 15:55:30
piterden 2020-05-28 15:51:50
You should select all rows where your condition is true. I suggest you to read docs about MySQL queries.
Thank you for suggestion!
Gnation88 2020-05-28 22:21:57
Anyone with details knowledge on innodb_flush_log_at_trx_commit
Gnation88 2020-05-28 22:22:13
innodb_flush_method
2020-05-29 09:45:48
Gnation88 2020-05-28 22:22:13
innodb_flush_method
Use O_Direct
2020-05-29 09:48:39
Gnation88 2020-05-28 22:21:57
Anyone with details knowledge on innodb_flush_log_at_trx_commit
Use 2 for high throughput
Use 1 for data consistency bt ur performance will slightly impact
And uh can use 0 if for high throughput as well
Better go with 1 and innodb_flush_method = O_Direct will give uh better performance.
Gnation88 2020-05-29 09:59:53
Few blogs mentions that in case of sever crash, data can be retrieved from logs amd innodb crash recovery, if innodb_flush_log_at_trx_commit is 2.
MasterZiv 2020-05-29 10:03:43
Gnation88 2020-05-28 22:21:57
Anyone with details knowledge on innodb_flush_log_at_trx_commit
The details are in the docs, very detailed.
acromegale 2020-05-30 01:17:12
2020-05-29 09:48:39
Use 2 for high throughput
Use 1 for data consistency bt ur performance will slightly impact
And uh can use 0 if for high throughput as well
Better go with 1 and innodb_flush_method = O_Direct will give uh better performance.
There is a mistake, 1 not for data consistency, 1 for crash-safe. Ilia said right, read the docs.
acromegale 2020-05-30 01:22:15
Gnation88 2020-05-29 09:59:53
Few blogs mentions that in case of sever crash, data can be retrieved from logs amd innodb crash recovery, if innodb_flush_log_at_trx_commit is 2.
With flush_trx_commit !=1 in bad case you can loose approx 1 second of data
ICUI4CUtwo 2020-06-02 12:14:13
Guys I need one help
ICUI4CUtwo 2020-06-02 12:17:05
How to select all records which are in 5 minute intervals
MasterZiv 2020-06-02 13:00:31
ICUI4CUtwo 2020-06-02 12:17:05
How to select all records which are in 5 minute intervals
Schematically:
Select * from thetable where moment between now () and now () – 5 minutes
ICUI4CUtwo 2020-06-02 13:31:30
mysql> Select * from master_invoiceheader_logistics where MAKERDTM between ‘2020-06-01 00:00:00’ and now () – INTERVAL 5 MINUTE;
ERROR 1630 (42000): FUNCTION nippon_Nadi.now does not exist. Check the ‘Function Name Parsing and Resolution’ section in the Reference Manual
mysql>
ICUI4CUtwo 2020-06-02 13:51:10
requirements,
get the data with the difference of more than 5 mins
moh98ala 2020-06-02 13:57:37
ICUI4CUtwo 2020-06-02 13:31:30
mysql> Select * from master_invoiceheader_logistics where MAKERDTM between ‘2020-06-01 00:00:00’ and now () – INTERVAL 5 MINUTE;
ERROR 1630 (42000): FUNCTION nippon_Nadi.now does not exist. Check the ‘Function Name Parsing and Resolution’ section in the Reference Manual
mysql>
did you check your function if it exist or not ?
ICUI4CUtwo 2020-06-02 13:59:08
select invoiceDate,MAKERDTM from master_invoiceheader_logistics where MAKERDTM >= date_sub(‘2020-06-01 00:00:00’, interval 5 minute) order by MAKERDTM ;
moh98ala 2020-06-02 14:00:57
FUNCTION nippon_Nadi.now does not exist ,
so check your function name .
ICUI4CUtwo 2020-06-02 14:02:41
ok bro
ICUI4CUtwo 2020-06-02 14:03:06
ICUI4CUtwo 2020-06-02 13:59:08
select invoiceDate,MAKERDTM from master_invoiceheader_logistics where MAKERDTM >= date_sub(‘2020-06-01 00:00:00’, interval 5 minute) order by MAKERDTM ;
is that correct for that requirement
moh98ala 2020-06-02 14:04:40
ICUI4CUtwo 2020-06-02 14:03:06
is that correct for that requirement
i don’t know because i don’t see the columns
ICUI4CUtwo 2020-06-02 14:05:02
+————-+———————+
| invoiceDate | MAKERDTM |
+————-+———————+
| 2020-06-01 | 2020-06-01 04:32:05 |
| 2020-06-01 | 2020-06-01 04:32:05 |
| 2020-06-01 | 2020-06-01 04:32:05 |
| 2020-06-01 | 2020-06-01 04:32:05 |
| 2020-06-01 | 2020-06-01 04:32:05 |
| 2020-06-01 | 2020-06-01 05:00:04 |
| 2020-06-01 | 2020-06-01 05:00:04 |
| 2020-06-01 | 2020-06-01 05:00:04 |
| 2020-06-01 | 2020-06-01 05:08:03 |
| 2020-06-01 | 2020-06-01 05:08:03 |
| 2020-06-01 | 2020-06-01 05:27:59 |
| 2020-06-01 | 2020-06-01 05:27:59 |
| 2020-06-01 | 2020-06-01 06:03:59 |
| 2020-06-01 | 2020-06-01 06:03:59 |
| 2020-06-01 | 2020-06-01 06:03:59 |
| 2020-06-01 | 2020-06-01 06:03:59 |
| 2020-06-01 | 2020-06-01 06:08:22 |
| 2020-06-01 | 2020-06-01 06:16:25 |
| 2020-06-01 | 2020-06-01 06:20:08 |
| 2020-06-01 | 2020-06-01 06:31:55 |
| 2020-06-01 | 2020-06-01 06:31:55 |
| 2020-06-01 | 2020-06-01 06:36:03 |
| 2020-06-01 | 2020-06-01 06:36:03 |
| 2020-06-01 | 2020-06-01 06:36:03 |
| 2020-06-01 | 2020-06-01 06:36:03 |
| 2020-06-01 | 2020-06-01 06:36:03 |
| 2020-06-01 | 2020-06-01 06:40:20 |
| 2020-06-01 | 2020-06-01 06:44:02 |
| 2020-06-01 | 2020-06-01 06:48:31 |
moh98ala 2020-06-02 14:07:16
ICUI4CUtwo 2020-06-02 14:03:06
is that correct for that requirement
did you tried it ?
ICUI4CUtwo 2020-06-02 14:07:45
yea but its wrong
moh98ala 2020-06-02 14:08:29
ICUI4CUtwo 2020-06-02 14:07:45
yea but its wrong
show me the wrong
ICUI4CUtwo 2020-06-02 14:08:47
5 min interval mean
ICUI4CUtwo 2020-06-02 14:08:55
5,10,15,20 ryte
moh98ala 2020-06-02 14:09:34
There is no error with the code .. Maybe your syntax error
ICUI4CUtwo 2020-06-02 14:10:13
if i change to 10 min interval im getting same count 244 rows
ICUI4CUtwo 2020-06-02 14:10:42
for 5 min interval also im getting same 244 rows
moh98ala 2020-06-02 14:13:52
wondrous , i’m sorry i don’t know bro .
ICUI4CUtwo 2020-06-02 14:16:50
cool,thanks for your help bro
← prev | next →