EN VI
Posts (0)
Questions (17)
2024-03-13 23:30:05
You can use Not Exists select plz from table t1 where not exists (select 1 from table t2 where t1.plz = t2.plz and ort = gemenide)
Tags: sql MySQL
2024-03-14 04:00:07
The slow query log does not count the lock time. It only logs a query if the execution time is at least as great as long_query_time in seconds. https://dev.mysql.com/doc/refman/8.0/en/slow-query-log.h...
2024-03-14 09:30:04
Of course it doesn't work. You're using SqlClient in the second code snippet, which is specific to SQL Server. If you want to connect to MySQL then you still need to use a MySQL provider.
Tags: c# MySQL winforms
2024-03-14 22:00:07
You can try something like this: SELECT ToolCode.ToolCode, COUNT(*) AS Quantity FROM ToolCode JOIN WorkCenter ON WorkCenter.WorkCenter LIKE CONCAT('%', ToolCode.ToolCode, '%') GROUP BY ToolCode.ToolCo...
Tags: MySQL
2024-03-15 01:30:04
Not in straight SQL. If you are sending the SQL query from another programming language, you can selectively add the condition to the query based on the table definition. You can either hard-code th...
Tags: MySQL
2024-03-16 05:30:04
For intersecting results across multiple conditions in a single table, INNER JOIN is used with the table itself based on matching document IDs and specific conditions for each intersecting set: SELECT...
Tags: sql MySQL select
2024-03-17 04:00:06
WITH cte AS ( SELECT id, ROW_NUMBER() OVER (PARTITION BY article_id ORDER BY amount) AS ordNum FROM price ) UPDATE price JOIN cte USING (id) SET price.ordNum = cte.ordNum; This requires MySQL 8.0...
Tags: sql MySQL foreign-keys

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login