Budget: 500 UAH Deadline: 1 day
Write the first SELECT word distinct.
And select GROUP BY company_id, it will take
Budget: 500 UAH Deadline: 1 day
Hello to
turn to
One request
+ + + + + + + + +
Budget: 500 UAH Deadline: 1 day
I'm going to make a few questions that will get the last record. Choose yourself to benefit.
Budget: 500 UAH Deadline: 1 day
Good day .
Get ready to help, consult on different types of requests, optimization of requests, and in general on working with BD.
Great experience in working with various BDs.
The PS. Examples in discussions are not very reasonable. )
Oleg V.
Winning proposal- Projects 36
- Rating -
- Rating 506
Budget: 500 UAH Deadline: 1 day
I will perform.
• • • • • • • • •
Proposals are currently absent
-
V V 26 September 2022SELECT company_id, plan_id, created_at
FROM company_plans
WHERE created_at IN (
SELECT MAX(created_at)
FROM company_plans
GROUP BY company_id
)
AND company_id = 59864
ORDER BY 2 DESC
LIMIT 1
-
Oleksandr B.
26 September 2022
Дякую, але на жаль це рішення не підійде. Я показав на прикладі однієї company_id, а на справді їх більше
-
Oleg V. 26 September 2022Если у Вас несколько записей за одну дату, хотите получить тот, у которого id больший?
-
Oleksandr B.
26 September 2022
Хочу отримати, саме максимальний по даті. Бо вона у форматі до секунди (2022-01-11 13:19:27). Але так як id створюються по черзі, то можна і по більшому id
-
Oleg V. 26 September 2022Это неверно. В самом запросе выбирается максимальная дата и после отбираются все записи за эту дату. Сейчас их там 2, но может быть и больше. Лимит не поможет
-
Aleksey Maslov 26 September 2022SELECT company_id, plan_id, created_at
FROM company_plans
WHERE created_at IN (
SELECT MAX(created_at)
FROM company_plans
GROUP BY company_id
)
AND company_id = 59864
ORDER BY created_at DESC
LIMIT 1
Вони не зрозуміли 2.
Current freelance projects in the category Databases & SQL
A centralized server system for collecting and storing data from Planfix, 1C, Meta Ads, and Google Ads is needed, as well as a web dashboard for displaying and analyzing this data. All data, change history, calculations, and aggregated metrics must be stored exclusively in the server database. The dashboard should not store or duplicate business data. It must retrieve the necessary information from the server database via API according to user requests and display it in the form of KPIs, charts, tables, and detailed reports.
We are looking for support for a project based on Yii , we need to make edits and improvements to the database, there is partially a connection with the previous contractor .....................
It is necessary to migrate the database from CRM G-PLUS to MyChatBot Database volume - 26 thousand leads 2 funnels - Call center and Sales department with their own funnels Lead cards (besides name and number) have many different fields Leads also have voice recordings of calls. These also need to be transferred I expect an approximate amount and implementation timeline from the candidate
Create a dashboard for monitoring and analyzing the performance of the company's location network (branches) in Google Business Profile (GBP) through the official Google Business Profile API. Process via a script based on Google Apps Script (link to Google Sheets). Record data in Google Sheets (which serves as a database for Looker Studio). Update: Daily (with an indication of the last update date). Create a Google Cloud service account. The script runs once a day (trigger at 03:00 AM) and sends a request to the GBP API. It retrieves metrics for the previous day for each location (locationId). Records data in a flat format (row = unique combination of Date + Branch ID + Metrics). Key Performance Indicator CardsCard NameGBP MetricDynamic FormatProfile ViewsImpressions (Search + Maps)Percentage %, Sparkline (blue)CallsLocal Services Phone CallsPercentage %, Sparkline (green)Website ClicksWebsite ClicksPercentage %, Sparkline (purple)Direction RequestsDirection RequestsPercentage %, Sparkline (orange)Average RatingAverage Review RatingAbsolute change (e.g., +0.1), Sparkline (yellow)New ReviewsNew Reviews CountPercentage %, Sparkline (turquoise)
Hello everyone! I'm looking for a Backend Developer (NestJS) to work on a new project. What needs to be done Develop a REST API using NestJS. Prepare and maintain documentation through Swagger (OpenAPI), so that the frontend developer can automatically generate a client using Orval and always work with the current specification. Design a clean, scalable architecture that will be easy to maintain and develop. Requirements Strong knowledge of NestJS and TypeScript. Experience with PostgreSQL. Experience integrating with Supabase: authentication and authorization; working with the database; using the platform's built-in features. Experience integrating Stripe (through Supabase features). Understanding of API security principles, authorization, data validation, and application protection. Ability to write clean, structured, and extensible code. If you have relevant experience, please send: examples of projects or GitHub; your desired rate (for the screens I provided, so I can understand your rate, hourly is inconvenient as it's unclear what volume of work will be done, everyone has a different pace);