Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

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

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6905829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:13:55+00:00 2026-05-27T08:13:55+00:00

Its a little bit complicated, but I will try to explain as best as

  • 0

Its a little bit complicated, but I will try to explain as best as I can.

I got 3 tables with news data, every table as a ‘date’ column that contains an unix time of the posted news.

Now select all of ‘date’ (from 3 tables) as get the min. value of the year using PHP date: (date('Y', $year)).

More informations:

Table1(Table2, Table3) -> has some ‘date’ column.

Now I need to withdraw those date fields (for example) into array, so the array will look like this: array('1323433261', '1323424614', '1322454677', ...etc); and then select the min. value in the array.

Hope you understand what I’m trying to reach, in case if you don’t, please comment.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:13:56+00:00Added an answer on May 27, 2026 at 8:13 am

    Try this

    SELECT MIN(min) FROM (
      (SELECT YEAR(FROM_UNIXTIME(MIN(add_date))) as min FROM table1) 
      UNION 
      (SELECT YEAR(FROM_UNIXTIME(MIN(add_date))) as min FROM table2) 
      UNION 
      (SELECT YEAR(FROM_UNIXTIME(MIN(add_date))) as min FROM table3)
    ) as t
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a little bit new to Actionscript, but I can't figure this one out.
My application has the data models a little bit complicated. I need to debug
its a little bit hard to understand. in the header.php i have this code:
It's a little bit confusing since every people say it's going on a different
It's little embarrassing to ask this question. But I can't figure out a way
I am sure it's just a little mistake, but i can't find it. When
Just a little bit curious, why PuTTY use its own version of private key
I am little bit confus about the iPhone developer program. I know its One
I have a little bit complicated query. I have table tbl_Categories {CategoryID, Name, CategoryId_fk}
So this problem is a little bit complicated to understand what I'm trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.