Category "mysql"

Redshift design or configuration issue? - My Redshift datawarehouse seems much slower than my mysql database

I have a Redshift datawarehouse that is pulling data in from multiple sources. One is my from MySQL and the others are some cloud based databases that get pulle

Dropdown with current value from Mysql

I am struggling to solve a problem in a CRUD working with MySQL (MariaDB). The situation is the following: I have a DB table called "tools" in this table I have

Mysql 8 Slower than 5.7 on Docker

I am new to docker and I have recently been trying to setup my project on docker. I have successfully deployed the application on nginx and php and i have been

How to use group by function for more columns

I have used following query to get below output from my exisiting database. select date(RaisedTime) as date, object,User,Count(*) as total from table1 where obj

creating a MySQL procedure using a Lambda function in Python

I have a lambda function that runs SQL scripts using Python which works fine until I try to run scripts that create stored procedures. Does anyone know what the

Check if two json arrays are equal regardless of the order in MySQL

I have a MySQL table: CREATE TABLE `test_table` ( `id` BIGINT, `json_config` JSON, ); json_config has a property called bookNames, whose value is a jso

TypeORM SUM Operator on Relation's field

I am a student trying to develop a music library just to try out new technologies. Currently I use NestJS together with TypeORM as my backend technologies (as w

php retrieve specific data onclick from database in a list format

<?php include ("../navbar.php"); ?> <?php include("../conn.php"); $query = "select * from semi_synthetic"; $result =

issue with python-mysql library with in Docker

We have a peculiar situation. I have inherited some source code from the people who left the company. in docker file they are installing the mysql driver via ap

issue with python-mysql library with in Docker

We have a peculiar situation. I have inherited some source code from the people who left the company. in docker file they are installing the mysql driver via ap

improve sql query with 2 EXISTS sub queries

I have this query (mysql): SELECT `budget_items`.* FROM `budget_items` WHERE (budget_category_id = 4 AND ((is_custom_for_family = 0)

Joining MySQL table

in my database there are 2 tables : posts, room Posts tables include ID and Title columns and includes many rooms and hotels titles and IDs. In the room table t

SSIS Data flow task (SQl -> CSV) data formatting issue

In SSIS, I have a data flow task which uses a data flow task to get data from SQL and save it in CSV file( using flat file connection manager). In this, I have

Sequelize ORDER BY ASC numeric string

please help in this matter. So my scenario is that I have driver app (flutter) that fetch ongoing orders that needed to be delivered. I would like to fetch orde

"There is no active transaction" when refreshing database in Laravel 8.0 test

Using php 8.0.2 and Laravel 8.37.0, I am running tests where for every test the database data should be refreshed, since there is conflicting data per test (due

How to use distinct inside concat_ws() in mysql?

In mySQL I have a table: id name code1 code2 code3 1 Jim aaa aaa a 2 Ryan bb bbb b 3 Ted c c

The sum of the user's points

I am a beginner when it comes to PHP and it is not my specialty, I am rather in the front end and I have a big problem. I need to edit one of the tables after a

When i use GetReportData from the Package ‘RGoogleAnalytics’, the data stop being fetched after sometime

When i use GetReportData from the Package ‘RGoogleAnalytics’, the data stop being fetched after sometime. E.g If the data to be fetched has 100,000

How to use Haversine formula in Sequelize-typescript to get distance between two coordinates

SELECT id, ( 6371 * ACOS( COS( RADIANS( db_latitude ) ) * COS( RADIANS( $user_latitude ) ) * COS( RADIANS( $user_longitude ) -

Import file using DBeaver

I currently use Mysql Workbeanch and I want to move to DBeaver as it is an all in for multiple databases. However I use a function to import a CSV from Amazon