Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

Help with MySQL Questions

Translated11 USD

Client's review of cooperation with Oleg V.

Quality
Professionalism
Cost
Contactability
Deadlines

The task is performed quickly and efficiently. I recommend it!

Freelancer's review of cooperation with Oleksandr B.

Payment
Task setting
Clarity of requirements
Contactability

A great customer, I recommend.

  1. 100  
    1 day11 USD

    Write the first SELECT word distinct.
    And select GROUP BY company_id, it will take

  2. 3650    257  0   1
    1 day11 USD

    Hello to
    turn to

    One request
    + + + + + + + + +

  3. 591    22  0
    1 day11 USD

    I'm going to make a few questions that will get the last record. Choose yourself to benefit.

  4. 928    22  0
    1 day11 USD

    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. )

  5. 530    32  4
    Winning proposal1 day11 USD

    I will perform.
    • • • • • • • • •

  6. Another 3 proposals concealed
  • Profile blocked
    26 September 2022, 18:38 |

    SELECT 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, 18:39 |

    Дякую, але на жаль це рішення не підійде. Я показав на прикладі однієї company_id, а на справді їх більше

  • Oleg V.
    26 September 2022, 18:41 |

    Если у Вас несколько записей за одну дату, хотите получить тот, у которого id больший?

  • Oleksandr B.
    26 September 2022, 18:44 |
    Хочу отримати, саме максимальний по даті. Бо вона у форматі до секунди (2022-01-11 13:19:27). Але так як id створюються по черзі, то можна і по більшому id
  • Oleg V.
    26 September 2022, 18:40 |

    Это неверно. В самом запросе выбирается максимальная дата и после отбираются все записи за эту дату. Сейчас их там 2, но может быть и больше. Лимит не поможет

  • Aleksey Maslov
    26 September 2022, 18:52 |

    SELECT 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

It is necessary to check the scripts and update the data in the Postgres database.

It is necessary to correct the SQL scripts for the Postgres database. It is required to check the scripts and update data from external Excel tables and between two Postgres databases (different servers). Scripts will be run through AnyDesk using Navicat. List of data for…

Databases & SQL ∙ 2 days 1 hour back ∙ 18 proposals

Need an Airtable architect to build a relational schema and a new clean Airtable base.

Need help rethinking and building a clean relational schema for an internal operational system on Airtable. The current database is already in use by the team, but it has grown organically: the structure is partially flat, some tables/views are actively used, while others are…

Databases & SQLDesktop Apps ∙ 2 days 19 hours back ∙ 9 proposals

Basketball Coaching Education Platform + Custom CMS

Basketball Coaching Education Platform + Custom CMSProject Overview We are looking for an experienced web development team or full-stack developer to build a modern basketball coaching education platform. The website will provide basketball coaches with access to educational…

Databases & SQLWeb Programming ∙ 3 days 12 hours back ∙ 90 proposals

Integration of Viber in 8.3

223 USD

Need Viber integration into own CRM (1C 8.3)About the Company The company "Domofon System" is engaged in the installation and maintenance of intercom systems. Base of over 40,000 subscribers. We work on our own customized system based on 1C 8.3. We are looking for a specialist…

Databases & SQLBot Development ∙ 3 days 15 hours back ∙ 16 proposals

Refinement of 1C UT 11 for Zebra TSD (RDP): different sound signals when scanning

22 USD

Configuration: 1C UT 11 Address warehouse Zebra TC26 TSD Work via RDP Product scanning is performed in receiving, placement, picking documents, and other warehouse operations. Current problem: Warehouse workers operate through the Zebra TSD. When scanning, they do not always…

C#Databases & SQL ∙ 5 days 13 hours back ∙ 6 proposals

Client
Oleksandr B.
Ukraine Kyiv  37  0
Project published
3 years back
129 views