Check if you are getting any output while describing the table?

|
Ashwin_Bruno 2021-03-05 22:48:08
DESC prueba.customer_answers;

Check if you are getting any output while describing the table ?

Ashwin_Bruno 2021-03-05 22:49:45
If your table is present on that db then it should not give error..I guess you are missing something..check properly
Paynalton 2021-03-05 22:50:40
Ashwin_Bruno 2021-03-05 22:48:08
DESC prueba.customer_answers;

Check if you are getting any output while describing the table ?

yes, same error

Ashwin_Bruno 2021-03-05 22:51:18
Paynalton 2021-03-05 22:50:40
yes, same error

That means your table doesn’t exist bro.. check the table name properly

Paynalton 2021-03-05 22:52:22
mmm, i think the migration process run the tcreate trigger before create it, then stops
Paynalton 2021-03-05 22:52:37
thanks for your help jejjee
Ashwin_Bruno 2021-03-05 22:53:12
Paynalton 2021-03-05 22:52:22
mmm, i think the migration process run the tcreate trigger before create it, then stops

Yes that’s the reason may be

Paynalton 2021-03-05 22:53:43
yea!! works!!!!!
Ashwin_Bruno 2021-03-05 22:54:09
Paynalton 2021-03-05 22:53:43
yea!! works!!!!!

Great

Liran 2021-03-08 13:44:28
Is there any other option to backup all databases other than dump?
MasterZiv 2021-03-08 13:50:52
Liran 2021-03-08 13:44:28
Is there any other option to backup all databases other than dump?

There are two solutions now,
MySQL dump
MySQL backup

MasterZiv 2021-03-08 13:51:25
MasterZiv 2021-03-08 13:50:52
There are two solutions now,
MySQL dump
MySQL backup

There’s also xtra backup by percona

Liran 2021-03-08 13:52:04
is there something like pg_basebackup of postgres?
MasterZiv 2021-03-08 13:53:56
Liran 2021-03-08 13:52:04
is there something like pg_basebackup of postgres?

Asking like this, you are kinda obliged to tell people what this pg_xxxx is…

Liran 2021-03-08 13:55:02
it makes a binary copy of the database cluster files,
Ashwin_Bruno 2021-03-08 17:47:04
Did you check under the requirement section if anything is missing
Ashwin_Bruno 2021-03-08 17:47:59
Make sure that you installed latest version of visual c++ redistributable package
Ashwin_Bruno 2021-03-08 19:11:00
You can refer this

How to install MySQL database server 8.0.19 on Windows 10

How to install MySQL database server 8.0.19 on Windows 10SQL Shack – articles about database auditing, server performance, data recovery, and more
This article explains the step by step installation process of the MySQL Database server 8.0.19 on Windows 10.
Kev In 2021-03-09 11:17:55
Hello .. i am a beginner.. i have been able to create an employee database with all the relations .. they ER diagrams shows that the relations have been used correctly.. but i would like to know some codes that i can use to access information from across all tables .. E.g if i need access to data on a specific staff .. i want to enter the staff number and access all infor regarding this staff ..
Kev In 2021-03-09 11:19:33
mysql_en-8490.jpg
Here is my ER diagram..
smlkw 2021-03-09 12:28:22
Kev In 2021-03-09 11:17:55
Hello .. i am a beginner.. i have been able to create an employee database with all the relations .. they ER diagrams shows that the relations have been used correctly.. but i would like to know some codes that i can use to access information from across all tables .. E.g if i need access to data on a specific staff .. i want to enter the staff number and access all infor regarding this staff ..

you need to create an SQL query with JOINs

Kev In 2021-03-09 18:21:57
It has worked perfectly.. thank you Sir!
JohnnMcClane 2021-03-09 19:52:24
mysql_en-8501.jpg

JohnnMcClane 2021-03-09 19:52:45
mysql_en-8502.jpg

JohnnMcClane 2021-03-09 19:52:54
I tried this but not getting required ans
JohnnMcClane 2021-03-09 19:55:28
http://sqlfiddle.com/#!9/af1a24e/8

SQL Fiddle | A tool for easy online testing and sharing of database problems and their solutions.SQL Fiddle
Application for testing and sharing SQL queries.
Ashwin_Bruno 2021-03-09 20:30:49
JohnnMcClane 2021-03-09 19:52:45

What’s your exact requirement can you explain in short.. sorry didn’t understand the question properly

Ashwin_Bruno 2021-03-09 20:32:17
JohnnMcClane 2021-03-09 19:55:28
http://sqlfiddle.com/#!9/af1a24e/8

Try this if this is what you are expecting

Select customerid,
Case when dt between “2021-01-31” and date_add(“2021-01-31”, interval 28 day) then “1” else “0” end flag
from retention

Paynalton 2021-03-10 04:35:49
mysql_en-8511.jpg
Hi guys and girls. I have this table:
Paynalton 2021-03-10 04:36:30
How can i query the row with the max value in column “peso”
Paynalton 2021-03-10 04:41:04
i need both data, customer_id and estacion_id
Paynalton 2021-03-10 04:41:13
can you helpme?
Paynalton 2021-03-10 04:43:42
if i try: select
customer_id,estacion_id ,max(peso)
from vw_customer_peso
group by customer_id
Paynalton 2021-03-10 04:43:56
i have this error:
Paynalton 2021-03-10 04:44:05
SQL Error [1055] [42000]: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘prueba.vw_customer_peso.estacion_id’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
|