The structure 只要…就… is used in compound sentences. The first part of the sentence, after 只要, expresses the condition of an action., The second part of the sentence, after 就, expresses the the result of an action.
In these sentences there may be one or two subjects, or there may be none at all.
In the first part of the sentence, the subject can be placed before or after 只要. In the second part of the sentence, the subject must be placed before 就.
The structure is as follows:
As long as you work hard, you will be successful
nǐmen zhǐyào nǔlì, jiù yídìng kěyǐ chénggōng
As long as he knows, it’ll be okay
zhǐyào tā zhīdào, jiù hǎo le
If you want to go, I’ll go with you
zhǐyào nǐ xiǎng qù, wǒ jiù gēn nǐ qù
The structure 只有…才… also shows the condition and result of an action. This result is only achieved if the condition of an action is met.
There is normally only one subject in these sentences, and it is placed before 才. Sometimes, however, there may not be a subject.
The modal verbs 会 , 可以 , 能 are often used after 才.
If the subject is in the middle of the sentence, there should be a comma before it.
If it’s at the beginning of the sentence or there is no subject, there is usually no comma.
You can only pass the exam if you work hard
zhǐyǒu nǐ gòu nǔlì, cái kěyǐ tōngguò kǎoshì
Some people can only work well under pressure
yǒuxiē rén zhǐyǒu zài yālì xià cái gōngzuò de hǎo
It was only when Yamamoto was on the train that he realized where he was going
zhǐyǒu dāng shānběn zuò zài huǒchē shàng shí, tā cái yìshídào tā yào qù nǎlǐ
Another use of 只有…才…
只有…才… can be used to name a range of people or things who/which meet certain conditions. For example, ‘Only I can do this’.
It can also be used to set a time or a place limit. For example, ‘The office is only open on Tuesdays and Thursdays”.
Insert a person, thing, time or place for "A"; and the requisite conditions for "B".
Only he himself understands
zhǐyǒu tā zìjǐ cái míngbai
Only football fans are allowed to work in football clubs
zhǐyǒu zúqiúmí cái yǔnxǔ zài zúqiú jùlèbù gōngzuò
It’s only on Saturdays that we have no school
wǒmen zhǐyǒu zài xīngqīliù cái bú yòng shàngxué
The only time when day and night are of equal length are during the Spring and Autumn Equinox